📁 코딩테스트 준비/Python

[SWEA / python] 2070. 큰 놈, 작은 놈, 같은 놈 (D1)

박개봄 2022. 11. 2. 17:57
728x90

문제풀이

t=int(input())
for test_case in range(1, t+1):
    """
    a=input()
    b=input()
    """

    a,b=map(int, input().split())
    
    if a>b:
        result='>'
    elif a<b:
        result='<'
    elif a==b:
        result='='

    print('#%d %c' % (test_case, result))

 

 

728x90