# nested try's
try:
print("try 1")
print("try 2")
foo()
except:
print("except 2")
bar()
print("except 1")
except TypeError:
except NameError: