Quiz Catalog

Catalog of quizzes

a, b = 1, 0
count = 0

try:
  print(a/b)
except ZeroDivisionError:
  count += 1
else:
  count += 2
finally:
  count += 3

print(count)
4
  • statement/try/except