# Python3 code to convert tuple # into string def convertTuple(tup): str = ''.join(tup) return str # Driver code tuple = ('g', 'e', 'e', 'k', 's') str = convertTuple(tuple) print(str)
tuple_ = 1, 2, 3, 4, 5 str(list(tuple))