• + 0 comments
    num_tests = int(input())
    for _ in range(num_tests):
        try:
            a, b = map(int, input().split())
            result = a // b
            print(result)
        except ZeroDivisionError as e:
            print("Error Code:", e)
        except ValueError as e:
            print("Error Code:", e)