Functions

Attention: Our videos have subtitles in all partner languages. You can switch on subtitles in the youtube player by clicking the gear wheel and selecting your preferred language.

In this section we explain what functions are and why they are such a huge help in writing good code. Pythons have a lot of great functions built in, like print(). But, now, we will teach you to create your own functions. These custom functions will allow for the creation of very customized and optimized code.