python print list items on new line 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
Example 3: print each element of list in new line python
mylist = ['10', '12', '14']
for elem in mylist:
print elem