Learn

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

Instructions

1.

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

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

Already have an account?