Reading input and displaying results

What does `int("19") + 1` evaluate to?

Examples

Worked example

Input
Input text: 19
Expected output
20

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

Conversion gives an integer first. Adding one then performs arithmetic.

Back to the lesson