Functions

One way to "reuse" code is by creating a for loop or a while loop. However, Python has two more ways: functions and classes. You'll learn about functions here. Guess what? You've already learnt the necessary precursors, so we can jump right in!