# Flow control and algorithmic thinking

A powerful concept in programming languages are pieces of code that allow you to **control whether segments of your code are executed or not based on the values of the variables in your code**. 

In this chapter, we will learn how to **control the flow of execution** of Python code using conditional statements and loops.
We will also learn about **pseudocode**, which will help you plan how to best approach a problem in Python before you start writing the code.

```{figure} images/map-08-flow-control.svg
---
height: 400px
name:
---
```
