human
I am working on the file "Project_Python/py_bootcamp/decorators.ipynb".
The first task is:
function within function
Can you write Python program for it?
assistant
#Here is the Python program you requested.

def welcome(name = 'Prithvi'):
    print 'inside welcome()'
    
    def namaste():
        return '\t inside the namaste()'
    
    def hariom():
        return '\t inside hariom()'
    
    
    if name == 'Prithvi':
        return namaste
    else:
        return hariom
    

x = welcome('potter')

print x()