O Level Papers!
Functions can be defined in modules, inside classes (as methods), and inside other functions (nested functions).