You are viewing a single comment's thread. Return to all comments →
for _ in range(int(input())): a, b = input().split() try: result = int(a)//int(b) except ZeroDivisionError as e: print(f"Error Code:",e) except ValueError as e: print(f"Error Code:",e) else: print(result)
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 →