iterate through array two for loops python code example
Example 1: python loop through list
list = [1, 3, 6, 9, 12]
for i in list:
print(i)
Example 2: looping through two lists python
for f, b in zip(foo, bar):
print(f, b)
list = [1, 3, 6, 9, 12]
for i in list:
print(i)
for f, b in zip(foo, bar):
print(f, b)