meaning of nested python code example
Example: what is used of nested function in python
def function1(): # outer function
print ("Hello from outer function")
def function2(): # inner function
print ("Hello from inner function")
function2()
function1()