Write a program to join all items in a tuple into a string, using a hash character as separator


Topic: Write a program to join all items in a tuple into a string, using a hash character as separator

Solution

myTuple = ("John", "Peter", "Vicky")
x = "#".join(myTuple)
print(x)



List all Python Programs