programming-examples/python/Tuple/Python program to convert a tuple to a string.py

3 lines
90 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
tup = ('e', 'x', 'e', 'r', 'c', 'i', 's', 'e', 's')
str = ''.join(tup)
print(str)