• + 0 comments

    t=int(input()) for _ in range(t): try: a,b=input().split() a,b=int(a),int(b)

        print(a//b)
    except ZeroDivisionError as e:
        print("Error Code:",e)
    except ValueError as d:
        print("Error Code:",d)