Kickstart 2020 with new opportunities! - hours only!Up to 80% off on all courses and bundles.-Close
14. Summary


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:
  • 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?


Click Next exercise to continue.