programme for for loop in pyton code example
Example: python loop program
digits = [0, 1, 5]
for i in digits:
print(i)
else:
print("No items left.")
digits = [0, 1, 5]
for i in digits:
print(i)
else:
print("No items left.")