If conditions

If conditions#

Learning Objectives#

After working through this topic, you should be able to:

  • Write conditions using if, elif and else

  • Explain the difference between = and ==

  • Combine if conditions and for loops

Materials#

Video:

Download the slides.

The PythonBasics Tutorial on conditional statements is very nice.

Quiz#