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.
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.
Create a free account to access the full topic