string.join()

string.join()

string.join() method

.join(iterable)
myTuple = ("John", "Peter", "Vicky")

x = "#".join(myTuple)

print(x)

# John#Peter#Vicky

Return a string which is the concatenation of the strings in iterable.

Related concepts

string.join()

string.join() — Structure map

Clickable & Draggable!

string.join() — Related pages: