0Pricing
Coding for Kids · Lesson

Keeping Score

Count correct answers.

Keep the Score! 🏆🔢

A good quiz keeps SCORE! 🏆 Every time you get one right, your score goes up!

Let's learn how to count correct answers. 🎯

score = 0
print('Your score starts at', score)

A Score Box Starts at Zero 📦

Before the quiz starts, the score is 0. Nobody has answered yet! 🥚

We make a box: score = 0. This box will grow as you get answers right!

score = 0
print('Score:', score)

All lessons in this course

  1. Making Questions
  2. Checking Answers
  3. Keeping Score
  4. Final Score
← Back to Coding for Kids