← Python from Scratch Lesson 17 of 78 · 5 XP

Warm-up: greater than ten? warm-up

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

A comparison — > (greater), < (less), == (equal) — gives a yes-or-no answer: True or False:

print(5 > 3)    # True
print(2 > 9)    # False

Task. Read an integer and print True if it is greater than 10, otherwise False.

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.