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



We’re letting you know what value (true or false) we want each variable to have, and your job is to add an expression that evaluates to the correct value using comparators.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?