This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

After you've completed this module, you'll be able to:

  • Identify when to use while and for loops.
  • Run a task multiple times by using while loops.
  • Loop over list data by using for loops.
  • Prerequisites

  • Basic Python programming knowledge, including the use of variables, strings, integers, and math.
  • Experience working with lists in Python.
  • Experience modifying and running code in Jupyter notebooks.
  •