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
- Choosing with if
- The else Backup Plan
- Comparing Values
- More Options with elif