Exercise

Booleans in Python

Booleans are used to represent True or False statements in Python. Boolean comparisons include:

operators descriptions
> greater than
>= greater than or equal
< less than
<= less than or equal
== equal
!= does not equal

Let's use boolean comparison operations to assess the revenues of three companies.

Instructions 1/2

undefined XP
    1
    2

The name of company 1 is provided as company_1. Determine if the variable test_company is equivalent to company_1.