• + 0 comments
    T = int(input())
    for i in range(T):
        try:
            nums = list(map(int, input().split()))
            a = nums[0]
            b = nums[1]
            div = a//b
        except ZeroDivisionError as e:
            print(f"Error Code: {e}")
        except ValueError as n:
            print(f"Error Code: {n}")
        else:
            print(div)