L1/10

A Comparison Produces a Boolean

Comparison expressions answer yes-or-no questions.

python
print(2 < 9)

Here is what the example does:

  • print(2 < 9) displays the result of 2 < 9.

The assignment changes the specific values, but the basic pattern is the same.

Assignment

Complete the starter code so the program does the following:

  • Print 5 > 3.

Your finished program should print exactly this output:

text
true

Be very careful with capitalization, spaces, and line breaks. The output must match exactly.