0Pricing
Coding for Kids · Lesson

Comparing Values

Check bigger, smaller, and equal.

Comparing Things ⚖️

Hello, brainy coder! 🧠 To make choices, we compare things. Is this bigger? Smaller? The same? Python has special signs for this! ✨

Bigger Than > 📈

The > sign means greater than (bigger). 5 > 3 is True because 5 is bigger!

print(5 > 3)
print(2 > 9)

All lessons in this course

  1. Choosing with if
  2. The else Backup Plan
  3. Comparing Values
  4. More Options with elif
← Back to Coding for Kids