Lesson 1: Getting Started
Lesson 2: Introduction
Lesson 3: Math
Math Basics
More Operators
More Division
Floats
Comparison Operators
Practice
Practice: Answers
Lesson 4: Strings
Lesson 5: Variables
Lesson 6: Errors
Lesson 7: Booleans
Lesson 8: Lists
Lesson 9: Logic
Lesson 10: Loops
Lesson 11: Functions
Lesson 12: Input
Lesson 13: Modules
Lesson 14: Games
Lesson 15: Minecraft
Lesson 16: Wrapping Up

Let's practice with a few examples so you can see what kinds of answers you get.

Type each of these expressions at the prompt and hit the Enter key after each one.

Go back to the previous page if you need some help to remember what each of the comparison operators mean.

>>> 5 < 4 + 3 >>> 12 + 1 >= 12 >>> 16 * 2 == 32 >>> 16 != 16 >>> 5 >= 6

Take your time, and try a few other expressions if you feel like it.

What happens if you use floats? Does it make a difference?