Tests and Loops

Author

Ludovic Deneuville

Before starting

1 Conditional structures and loops

In this Notebook, we will cover the following topics:

  • if, else structures
  • for loop
  • while loop
  • break and continue statements

2 Conditional structures

We will test different Boolean conditions (see Notebook 1) using the keywords: if, else and elif.

The principle is the following: