Skip to content
Quiz · Loops · lesson 5 of 7

Quiz — continue and break

What does the program print?

Python
for n in range(10):
    if n % 2 == 0:
        continue
    if n > 6:
        break
    print(n, end="")

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way