Create Nested Function
In the code below,
my_func
repeatedly calls the function inner
. However, that function hasn't been created yet. Define the inner
function and make it print a message each time it's called.Premium
Python
Setting up Python environment...
Output