loop through array python 3 code example
Example 1: python loop through list
list = [1, 3, 6, 9, 12]
for i in list:
print(i)
Example 2: for loop in python array
for x in range (1, 100, 1):
print(x)
list = [1, 3, 6, 9, 12]
for i in list:
print(i)
for x in range (1, 100, 1):
print(x)