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
- Making Questions
- Checking Answers
- Keeping Score
- Final Score