how do i print a list line by line in python

Solutions on MaxInterview for how do i print a list line by line in python by the best coders in the world

showing results for - "how do i print a list line by line in python"
Soumaya
14 Apr 2018
1# python, print list one item at a time
2
3my_list = ["one", "two", "three"]
4
5for item in my_list:
6  print(item)
7  
8# you can use any variable pyton accepts in place of "item"