''.join([1, 2, 3])
By the way, your example has an error, since you can't join a list of numbers. You can only join lists of strings. I.e.
' '.join("Hello", "World")
string.join(['1','2','3'], ' ') == ' '.join(['1','2','3'])
By the way, your example has an error, since you can't join a list of numbers. You can only join lists of strings. I.e.