Python tutor

PYTHON VISUAL LAB

Interactive Python tutor

12 beginner topics · Free practice · No account needed

0 / 12 topics completed

Your practice progress

0 completed · 0 in progress · 12 not started

Saved in this browser. Complete the exercise and quiz to finish each topic.

Topic 1 of 12

Variables

Assignment stores a value; reassignment replaces it.

Exercise: To doQuiz: To do

Exercise · Predict the exact output.

score = 4
score = score + 3
print(score)

Quick quiz

What does score = score + 3 do?

0 of 12 topics completed

Try your own code in the Visualizer or create a learner account for course progress saved across devices.