• + 0 comments

    def expFunc(in_arg1,in_arg2): try: return int(in_arg1)//int(in_arg2) except ZeroDivisionError as e: return (f"Error Code: {e}") except ValueError as v: return (f"Error Code: {v}")

    n=int(input()) for i in range(n): a, b =input().split() print(expFunc(a,b))