human
I am working on the file "P10Decorators.ipynb".
The first task is:
Functions within functions
Great! So we've seen how we can treat functions as objects, now lets see how we can define functions inside of other functions:
Can you write Python code for it?
 What is a the Python code you requested?
assistant
#Here is the Python code you requested.

def hello(name='Jose'):
    print 'The hello() function has been executed'
    
    def greet():
        return '\t This is inside the greet() function'
    
    def welcome():
        return "\t This is inside the welcome() function"
    
    print greet()
    print welcome()
    print "Now we are back inside the hello() function"

hello()

welcome()