0Pricing
Coding for Kids · Lesson

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

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