By using ''.join
''.join
list1 = ['1', '2', '3'] str1 = ''.join(list1)
Or if the list is of integers, convert the elements before joining them.
list1 = [1, 2, 3] str1 = ''.join(str(e) for e in list1)
1.4m articles
1.4m replys
5 comments
56.9k users