how to make a list of each line in python code example
Example 1: making lists with loops in one line python
print([i for i in range(10)])
Example 2: print each element of list in new line python
mylist = ['10', '12', '14']
for elem in mylist:
print elem