# l=10#Global
#
# def function1(n):
#     # l=5 #Local
#     m=8 #Local
#     global l
#     l=l+45
#     print(l,m)
#     print(n,"I have printed")
#
# function1("This is me")
# # print(m)

x=89
def harry():
    x=20
    def rohan():
        global x
        x=88
    # print("before calling rohan()",x)
    rohan()
    print("after calling rohan()",x)

harry()
print(x)
ae968d2342408baeaff3bbb612433bf7bd4aad4d
<mask token>

<mask token>


def harry():
    x = 20

    def rohan():
        global x
        x = 88
    rohan()
    print('after calling rohan()', x)


<mask token>

<mask token>


def harry():
    x = 20

    def rohan():
        global x
        x = 88
    rohan()
    print('after calling rohan()', x)


harry()
print(x)

x = 89


def harry():
    x = 20

    def rohan():
        global x
        x = 88
    rohan()
    print('after calling rohan()', x)


harry()
print(x)

# l=10#Global
#
# def function1(n):
#     # l=5 #Local
#     m=8 #Local
#     global l
#     l=l+45
#     print(l,m)
#     print(n,"I have printed")
#
# function1("This is me")
# # print(m)

x=89
def harry():
    x=20
    def rohan():
        global x
        x=88
    # print("before calling rohan()",x)
    rohan()
    print("after calling rohan()",x)

harry()
print(x)