Python list methods

How can I combine elements in list?
for example list = [1,2,3] and I want to 123

One way is indexing and concatenation.
list[0]+list[1]+list[2]

I found join method .

Yes that also works.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.