# Chef And Operators – CodeChef Solution

Hello coders, today we are going to solve Chef And Operators CodeChef Solution whose Problem Code is CHOPRT.

## Problem

Chef has just started Programming, he is in first year of Engineering. Chef is reading about Relational Operators.

Relational Operators are operators which check relationship between two values. Given two numerical values A and B you need to help chef in finding the relationship between them that is,

• First one is greater than second or,
• First one is less than second or,
• First and second one are equal.

## Input

First line contains an integer T, which denotes the number of testcases. Each of the T lines contain two integers A and B.

## Output

For each line of input produce one line of output. This line contains any one of the relational operators

‘<‘ , ‘>’ , ‘=’.

## Constraints

• 1 <= T <= 10000
• 1 <= A, B <= 10000000001

Input:

```3
10 20
20 10
10 10```

Output:

```<
>
=```

## Solution – Chef And Operators – CodeChef Solution

### Python 3

```#Solution Provided by Sloth Coders
T = int(input())
while T > 0:
m, n = map(int, input().split())
if m > n:
print(">")
elif m < n:
print("<")
else:
print("=")
T = T - 1       ```

Disclaimer: The above Problem (Chef And Operators) is generated by CodeChef but the Solution is provided by CodingBroz. This tutorial is only for Educational and Learning Purpose.