how to call function from function in python code example
Example 1: how to call a function in python
def func():
print(" to write statement here and call by a function ")
func()
// Returns
Example 2: function in function python
def function1(): # outer function
print ("Hello from outer function")
def function2(): # inner function
print ("Hello from inner function")
function2()
function1()