Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

function in function python

def function1(): # outer function
    print ("Hello from outer function")
    def function2(): # inner function
        print ("Hello from inner function")
    function2()

function1()
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #function #function #python
ADD COMMENT
Topic
Name
6+1 =