how to print numbers in python for the list of contents code example Example: python print list with newline my_list = [1, 2, 3, 4] print(*my_list, sep="\n")