2017-03-14 4 views

Répondre

1
def first(): 
    global myvar 
    myvar = "thing" 
    def second(): 
     print myvar 
    second() #==>call the function or 
    return second() #return the second function 

first()