python-crash-course/Chapter_04/4-3_countingToTwenty.py

7 lines
137 B
Python

# Excercise 4-3 Counting to Twenty
# Learning Objective: Use for loop and range method.
for number in range(1, 21):
print(number)