Control Flow in Ruby

Dare to Compare

Now let's review comparators / relational operators. We've turned the tables a bit!

Remember, comparators need to compare two values to each other to result in true or false

10 > 8 // true
8 > 10 // false
8 == 10 // false
8 != 10 // true
Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.