Write a programExercise 2/4Basic10 XP

A reduced ticket

Task

A child ticket is for ages under 15, a senior ticket for ages 62 and over. The program reads an age (a whole number) and prints True if the person can get one of the reduced tickets, otherwise False.

Again, printing the value of a logical expression is enough - no if.

Examples

  • Input

    10

    Expected output

    True

Rules

  • Print the value of the logical expression directly - no if needed.

After you submit, 6 hidden tests will also check your solution: age 14, age 15, an adult age, age 61, age 62, age 0.

Python starts the first time you run code.

Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.

Input (stdin)

Each line = one call to input().

Output

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.