how to print list elements in new line code example
Example 1: python print list with newline
my_list = [1, 2, 3, 4]
print(*my_list, sep="\n")
Example 2: how to print from a python list
list = ['a', 'b']
print(list[0])
#that will print 'a'
#print(list[1]) will print 'b'