Error Count

Report a typo

Consider the following piece of code:

try: 
    1/0 
except: 
    1/0 
finally: 
    print("It's OK.")

How many times will "ZeroDivisionError: division by zero" be printed? Put the number in the answer box below.

Enter a number
___

Create a free account to access the full topic