Booleans Summary#

Booleans:#

  • booleans represent answers to yes/no questions

  • using relational and logical operators produces boolean values

  • booleans can be combined with the logical operators: and, or, and not

Relational Operators:#

  • ==, equal

  • !=, not equal

  • <, less than

  • >, greater than

  • <=, less than or equal to

  • >=, greater than or equal t

Logical Operators:#

  • and

  • or

  • not