lst=[10,4,5]
try:
    i=int(input("index"))
    print(lst[i])

except:
    print("exception occured")

finally:
    print("inside finally")
26221fb29153f7dbc0da739c218c1344272d3790
<mask token>

<mask token>
try:
    i = int(input('index'))
    print(lst[i])
except:
    print('exception occured')
finally:
    print('inside finally')

lst = [10, 4, 5]
try:
    i = int(input('index'))
    print(lst[i])
except:
    print('exception occured')
finally:
    print('inside finally')

lst=[10,4,5]
try:
    i=int(input("index"))
    print(lst[i])

except:
    print("exception occured")

finally:
    print("inside finally")