Fraction Camparision
登录—专业IT笔试面试备考平台_牛客网
https://ac.nowcoder.com/acm/contest/881/J
题意
给两个分数,判断大小。
Code
while True: try: x, a, y, b = map(int, input().split()) except: break if x * b == a * y: print('=') elif x * b > a * y: print('>') elif x * b < a * y: print('<')