Lesson 4 Quiz: Variables: Storing Things

Self-check only. Your answers stay in your browser — nothing is submitted or graded. Pick an answer for each question, then press Check my answers to see the answer key and explanations.

1. What is a variable?

2. What does `age = 9` store, and how is it different from `age = "9"`?

3. What does `score = score + 5` do, step by step?

4. Which of these names are NOT allowed, and why: `my_score`, `2score`, `my score`?

5. What is the difference between `print(name)` and `print("name")`?

← Back to Lesson 4 · Enroll free in the full course