You are viewing a single comment's thread. Return to all comments →
Here is the most cleaner and simple code:-
test_cases = int(input()) test_cases_list = [input().split(" ") for _ in range(test_cases)] for num in test_cases_list: try: print(int(num[0]) // int(num[1])) except Exception as e: print(f"Error Code: {e}")
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 →
Here is the most cleaner and simple code:-