Flow Control Overview

From Master of Neuroscience Wiki

Let us look what kind of options we have for flow control in Python.

Questions to David Rotermund

Logic blocks need to be indented. Preferable with 4 spaces!

There is called a so called The Python Language Reference

Selection statements
if, elif, else​
match case (>= Python 3.10)
Iteration statements (Loops)
for loop​
while loop
Functions
functions​
return​
lambda
Jump statements
break​
continue​
pass​
Error handling
try