Liste pour chaîner Python
list1 = [1, 2, 3]
str1 = ''.join(str(e) for e in list1)
Amused Antelope
list1 = [1, 2, 3]
str1 = ''.join(str(e) for e in list1)
List = ["ITEM1", "ITEM2", "ITEM3"]
string_version = "".join(List)
print(string_version)
list1 = ['1', '2', '3']
str1 = ''.join(list1)
>>> L = [1,2,3]
>>> " ".join(str(x) for x in L)
'1 2 3'
numb = 1
list = []
while(numb <= 3):
list.append(numb)
numb += 1
str = ''.join(str(e) for e in list)
print(int(str))
https://mefiz.com/ # For Developer
import random
n = random.sample(range(1,51214), 5)
listToString = ''.join([str(elem) for elem in n])
print(n)
print(listToString)