kjfdhkehedc
while True: guess = int(input()) if guess > myNumber: print('>') elif guess < myNumber: print('<') else: print('') break
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> 3>2 True >>> 3==2 False >>> 3<2 False >>>