본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#175 백준 파이썬 [4101] 크냐?

https://www.acmicpc.net/problem/4101

 

#Solution

a, b = map(int, input().split())

while not (a == 0 and b == 0):
    if a > b:
        print("Yes")
    else:
        print("No")
    a, b = map(int, input().split())