© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. GutaPragmatic Python Programminghttps://doi.org/10.1007/978-1-4842-8152-9_4

4. The Control Structure: How to Describe the Workflow

Gabor Guta1  
(1)
Budapest, Hungary
 

“Features of a programming language, whether syntactic or semantic, are all part of the language’s user interface. And a user interface can handle only so much complexity or it becomes unusable.”

Guido van Rossum

If different statements have to be executed based on various conditions or if statements need to be executed repeatedly, then so-called control structures can be used. They allow different statements to be executed depending, for example, on the value of a Boolean expression. These control ...

Get Pragmatic Python Programming: Learning Python the Smart Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.