demo_ref_string_join.py:
myTuple = ("John", "Peter", "Vicky") x = "#".join(myTuple) print(x)
➜ begtut>python demo_string_join.py
John#Peter#Vicky