How to iterate over list in python
From DevOps Notebook
Most simple way with for: <syntaxhiglight>
- example list
list = [1, 2, 22, 55, 29]
- Using for loop
for i in list: print(i)
</syntaxhighlight>
Most simple way with for: <syntaxhiglight>
list = [1, 2, 22, 55, 29]
for i in list: print(i)
</syntaxhighlight>