In programming, control flow is a very important concept. It is absolutely crucial for controlling the behaviour of our programs. Control flow allows us to split off and repeat parts of our programs, which is enough to completely control the order in which our programs are run.
In this lesson, we will be covering two of the most basic control flow tools: ‘if’ statements, and loops. These two tools should make it easy to charm any python program into doing what you want.