Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Summary
14. Summary

Instruction

Great! It's time to wrap things up.

  • Comments in Python start with # and continue till the end of a given line.
  • Boolean variables can take on one of two values: True or False.
  • if statements use the following syntax:

    if condition:
      ...
    elif condition:
      ...
    else:
      ...
    
  • The following comparison operators can be used: <, >, <=, >=, ==, !=.
  • The following Boolean operators can be used: and, or, not.
  • if statements can be nested.

Are you ready for a short quiz now?

Exercise

Click Next exercise to continue.