AlgoBazaAlgoBaza
Back to tasks

The wrong order

Beginner

Python for kids 路 Lesson 13: Errors - reading the messages

Problem Statement

The program reports a NameError because it uses a variable before creating it:

print(x)
x = 3

Fix the mistake so the program prints:

3
Output Format

Exactly the text from the example.

Examples
Example 1

Output

3