You are viewing a single comment's thread. Return to all comments →
test_cases = int(input()) for i in range(test_cases): divi1, divi2 = input().split() try: print(int(divi1) // int(divi2)) except ZeroDivisionError as z: print("Error Code:", z) except ValueError as v: print("Error Code:", v)
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptions
You are viewing a single comment's thread. Return to all comments →