+ 1
try: print(1) print(10 / 0) except ZeroDivisionError: print(unknown_var) finally: print("This is executed last
Why is 1 printed?
3 Réponses
+ 3
Maybe you include code, can you post it here.
+ 2
Because it is before the exception is encountered.
Why is 1 printed?