1 2 3 4 5 6 7 8 9
try: try: print(zoo(1).foo(2)) except: pass print(zoo(0).foo(2)) # <- move statement up here except: zoo(3)