import traceback

a = (1,2,[3,4])
try:
    a[2] += [4,5]
except:
    traceback.print_exc()
print(a)