Comparison Operators Practice
Reviewing Comparison Operators
Below is a recap of the comparison operators we've covered:
Operation | Symbol | Usage Example |
---|---|---|
Equality | == | a == b |
Inequality | != | a != b |
Greater than | > | a > b |
Less than | < | a < b |
Greater than or equal to | >= | a >= b |
Less than or equal to | <= | a <= b |
You'll be using some of these operators in the upcoming task.
Tâche
Swipe to start coding
Insert the appropriate inequality symbol (either <
or >
) so the expression evaluates to 1
.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 2.63
Comparison Operators Practice
Glissez pour afficher le menu
Reviewing Comparison Operators
Below is a recap of the comparison operators we've covered:
Operation | Symbol | Usage Example |
---|---|---|
Equality | == | a == b |
Inequality | != | a != b |
Greater than | > | a > b |
Less than | < | a < b |
Greater than or equal to | >= | a >= b |
Less than or equal to | <= | a <= b |
You'll be using some of these operators in the upcoming task.
Tâche
Swipe to start coding
Insert the appropriate inequality symbol (either <
or >
) so the expression evaluates to 1
.
Solution
Tout était clair ?
Merci pour vos commentaires !
Awesome!
Completion rate improved to 2.63Section 3. Chapitre 5
single