"""
Chapter 5 Exercises: Loops
See README.md in this folder for full instructions.
"""

# TODO 1: Use a while loop to calculate and print the sum of numbers from
# 1 to 20 (inclusive).


# TODO 2: Use a for loop to print the multiplication table of 7, from
# 7 x 1 up to 7 x 10.


# TODO 3: Given n = 1234, reverse its digits using % and // in a while
# loop (result should be 4321). Print the reversed number.


# TODO 4 (Debug the Code): this is supposed to print the numbers 1
# through 10 (inclusive), but it stops at 9. Find and fix the bug.
for i in range(1, 10):
    print(i)
