L = [1, 2, 3, 4, 5]
print(*L)
1 2 3 4 5
L=' '.join(L)
print(L)
1 2 3 4 5 #str
At the time of int
L = map(str, L) #Convert from int to str
L=' '.join(L)
print(L)
1 2 3 4 5
[print(i) for i in L]
1
2
3
4
5
(Because it took time when programming for competition.) (If there is an addition, I will add it.)