# FAQ: Introduction to R Syntax - Comparison Operators

This community-built FAQ covers the “Comparison Operators” exercise from the lesson “Introduction to R Syntax”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn R

## FAQs on the exercise Comparison Operators

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

## Join the Discussion. Help a fellow learner on their journey.

Agree with a comment or answer? Like () to up-vote the contribution!

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

The exercise is stated thus: “Use a comparison operator to check if 56 is greater than or equal to 129”

56 >= 129

But running this this, which gives an answer of FALSE, does not tick the exercise complete. So I looked up solution, which was given as:

56 != 129

I do not know what != means, but running this, which gives an answer of TRUE, also does not tick the exercise complete. Which means I am stuck here and cannot go onto the next exercise. Does anyone know where I went wrong?

Actually there are two questions
question no 1. is
Use a comparison operator to check if 56 is greater than or equal to 129. What should this expression evaluate to? Check by running your code!
Ans: 56 >= 129

and the question number 2 is
In a new line, use the right comparison operator to check if 56 is NOT equal to 129. What should this expression evaluate to? Check by running your code!
Ans: 56 != 129

!= this stands for NOT equal to

You need to attempt both the questions to complete the exercise.