Statements are usually executed in the following order: The first statement in a function is executed first, then the second, and the process repeats. Sometimes there might be instances where you will need to execute a certain block of code multiple times and this is satisfied using loops. A loop statement allows us to repeat the execution of a statement or a series of statements. A loop statement is depicted in the diagram below. To meet looping requirements, the Python programming language supports the following types of loops to meet looping requirements.