summaryrefslogtreecommitdiff
path: root/tutorials/1_07_control_structures.md
blob: 21826bbb1916e1b38a9b2761e36d9643222f06b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Control Structures
Control structures allow us to control the flow of execution in a Python program. The two main types are **conditional statements (`if` statements)** and **loops (`for` and `while` loops)**.

## Flowcharts


## Conditional statements
Conditional statements let you execute code based on different conditions using if, elif and else statements.




## Loops