How to iterate over list in python

From DevOps Notebook
Revision as of 22:57, 14 November 2019 by MilosZ (talk | contribs)

Most simple way with for:

# example list
list = [1, 2, 22, 55, 29] 
# Using for loop 
for i in list: 
	print(i)