Introduction

Functions help us organize our code in a way that's reusable, and accept arguments and defaults where needed. Loops let us take action on collections of items. Boolean logic allows us to control the execution flow of our program.


Source: Nina Zakharenko, https://practical.learnpython.dev/04_functions_and_loops/
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.