Checking Answers
Compare to the right answer.
Check the Answers! ✅❌
Now the fun part: checking if the player got it RIGHT! 🎯
The computer compares the player's answer to the correct answer. Let's learn how! 🧠
print('Is your answer correct? Let us find out!')Comparing Two Numbers 🤔
We use == to ask 'are these equal?' (Two equal signs!) 🟰
It gives back True if they match, or False if they don't.
print(5 == 5)
print(5 == 8)All lessons in this course
- Making Questions
- Checking Answers
- Keeping Score
- Final Score