Step 1 of 7

Step 1 · Read and run

Everything is text

Here's the catch with input(): whatever is typed comes back as text (a str), even if it's all digits. Typing 14 gives "14", not the number 14.

Run it, type your age, and read the error. It's the TypeError you met in Chapter 2: text plus a number.

Run the program and read the error to carry on.
age.py

Output

Press Run to see what your program prints.