This article serves as a complete reference for all the non-trivial things you should know about Python functions.
Thank you MathGurl for having inspired me so much.