my_list = [1, 2, 3, 4] print(*my_list, sep=" ")
>>> string = "abcd " >>> print(repr(string)) 'abcd '
list = ['a','b','c'] for i in list: print(i, end=' ')