Introduction to Python | Functions

Functions let you extract parts of a script for reuse at any time. Using functions effectively makes it possible to structure larger programs. This section explains the basics.