# A program that will print numbers 1 to 10 using for loop and while loop
# Practice problem #13 on page: 59 (chapter-2)

print("\nWith For loop:\n")

for n in range(1,11):
    print(n)

print("\nWith While loop:\n")

n=0
while n<10:
    n=n+1
    print(n)
d1c48e2a3d7fae2298243280b0d325a9f304b502
<mask token>

print("""
With For loop:
""")
for n in range(1, 11):
    print(n)
print("""
With While loop:
""")
<mask token>
while n < 10:
    n = n + 1
    print(n)

print("""
With For loop:
""")
for n in range(1, 11):
    print(n)
print("""
With While loop:
""")
n = 0
while n < 10:
    n = n + 1
    print(n)

# A program that will print numbers 1 to 10 using for loop and while loop
# Practice problem #13 on page: 59 (chapter-2)

print("\nWith For loop:\n")

for n in range(1,11):
    print(n)

print("\nWith While loop:\n")

n=0
while n<10:
    n=n+1
    print(n)