09 | for loop; list; numbers
What it is is:
simple_loop1.py
# This program demonstrates a simple for loop
# that uses a list of numbers.
print('I will display the numbers 1 through 5.')
for num in [1, 2, 3, 4, 5]:
print(num)
What it is is:
simple_loop1.py
# This program demonstrates a simple for loop
# that uses a list of numbers.
print('I will display the numbers 1 through 5.')
for num in [1, 2, 3, 4, 5]:
print(num)