Creating Functions
Jul 31, 2019
2 minutes
Funky Functions
A function is a command that you enter into Python to do something. It’s a little piece of self-contained code that takes data, works on it and then returns the result.
STEP 1
It’s not just data that a function works on. They can do all manner of useful things in Python, such as sort data, change items, or .
You’re reading a preview, subscribe to read more.
Start your free 30 days