#we can return one function from another function

def display(str):
    def message():
        return 'hello'
    return message()+str
x=display(' krish')
print(x)


d06e0d3274b2627295f9506dd1695681385494c9
<mask token>

def display(str):

    def message():
        return 'hello'
    return message() + str


<mask token>

def display(str):

    def message():
        return 'hello'
    return message() + str


<mask token>
print(x)

def display(str):

    def message():
        return 'hello'
    return message() + str


x = display(' krish')
print(x)

#we can return one function from another function

def display(str):
    def message():
        return 'hello'
    return message()+str
x=display(' krish')
print(x)

