i = 3
print('id of i=3 : ', id(i))
with open('arjun.txt', 'w') as file_open:
    i = 0
    print('id of i = 0 : ', id(i))
    y = 0
    if y == 0:
        print('id of i in y = 0 : ', id(i))
        i = i + 2
        print('id of i after update : ', id(i))
print('id of i  :', id(i))
print('value of i : ', i)

919118ec6a7666f85ffe944fbdf87e960a6cd703
<mask token>

<mask token>
print('id of i=3 : ', id(i))
with open('arjun.txt', 'w') as file_open:
    i = 0
    print('id of i = 0 : ', id(i))
    y = 0
    if y == 0:
        print('id of i in y = 0 : ', id(i))
        i = i + 2
        print('id of i after update : ', id(i))
print('id of i  :', id(i))
print('value of i : ', i)

i = 3
print('id of i=3 : ', id(i))
with open('arjun.txt', 'w') as file_open:
    i = 0
    print('id of i = 0 : ', id(i))
    y = 0
    if y == 0:
        print('id of i in y = 0 : ', id(i))
        i = i + 2
        print('id of i after update : ', id(i))
print('id of i  :', id(i))
print('value of i : ', i)
