Comparison Operators

  • == for equality

  • != for inequality

  • > greater than

  • < less than

  • >= greater than or equal to

  • <= less than or equal to

Logical operators

Can be used to combine comparisons

  • and

  • or

  • not