🐍⚙ Python Tricks — Nested functions
Python allows functions to be defined inside other functions. These are called nested functions or inner functions.
In this example, every time you call "speak", it defines a new inner function "whisper" and then calls it immediately after.