>>> l = [1, 2, 3]
>>> print(' '.join(str(x) for x in l))
1 2 3
>>> print(' '.join(map(str, l)))
1 2 3
>>> print(*[1, 2, 3, 4, 5],spr="")
1 2 3 4 5
# using * operator
scores = [11, 12, 13, 14, 15, 16]
print(*scores)
sample_list = ['Python', 'with', 'jleval', 1, 2, 3]
print(*sample_list, sep=', ')
#Output----------------------------------------
#Python, with, jleval, 1, 2, 3