python print out items in list code example
Example 1: python print list with newline
my_list = [1, 2, 3, 4]
print(*my_list, sep="\n")
Example 2: print all objects in list python
for p in myList:
print p
my_list = [1, 2, 3, 4]
print(*my_list, sep="\n")
for p in myList:
print p