# Trace through the following code # some lines may be blank def foo(x): lis = [5, 6, 7] try: print(lis[x]) except IndexError: print("index") print(x) return 3 try: print(foo(4)) except Exception: print("caught") print("done")