Correctly Call Nested Function
The following code contains a mistake. Fix it so the nested function is called correctly, and the message
Hello from inner_func
is displayed.def outer_func():
def inner_func():
print('Hello from inner_func')
inner_func()
outer_func()
# expected output: 'Hello from inner_func'
Python
Setting up Python environment...
Output