bbdee814a3
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> |
||
---|---|---|
.. | ||
README.md |
Flow Control Overview
{:.no_toc}
* TOC {:toc}The goal
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 |