githubEdit

Control Flow Statements

In this section, we shall learn about control flow statements which includes if, if..elif, if..else, while, for loops

A program’s control flow is the order in which the program’s code executes.

The control flow of a Python program is regulated by conditional statements, loops, and function calls.

This section covers the if statement and the for and while loops. Functions are covered later.

Topics

  • if, elif, and else

  • for loops

  • while loops

  • break and continue

Next | Previous

Last updated