# x = 20
# def func1():
#     global x
#     x = 21
#     return x
#
# print(x)
# func1()
# print(x)

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

rohan()
print(x)



5083832f325fb53b78c4d4a14ef094f47c5ee744
<mask token>

<mask token>


def rohan():
    x = 20

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


<mask token>

<mask token>


def rohan():
    x = 20

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


rohan()
print(x)

x = 89


def rohan():
    x = 20

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


rohan()
print(x)

# x = 20
# def func1():
#     global x
#     x = 21
#     return x
#
# print(x)
# func1()
# print(x)

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

rohan()
print(x)


