Functions in Python

Learn how to write functions in Python.

We'll cover the following...

What are functions in Python?

A function is a piece of code that only runs when it is called. Python functions return a value using a return statement if one is specified. A function can be called anywhere after it has been declared.

By itself, a function does ...