All lessons

Trace the Output

Read the code line by line and predict what it prints

Run the program one line at a time. Watch x change, then see what print(x) shows.

x = 5
x = x + 3
print(x)

Variables

No variables yet — press the button to run the first line.