AlgoBazaAlgoBaza
Back to tasks

Every other line

Beginner

Python for kids 路 Lesson 6: Comments - notes for people

Problem Statement

This program prints the numbers from 1 to 6:

print(1)
print(2)
print(3)
print(4)
print(5)
print(6)

Switch off what isn't needed with a comment so that the program prints:

1
3
5
Output Format

Exactly the text from the example.

Examples
Example 1

Output

1
3
5