myNumber =65 while True: guess = int(input('请输入数字')) if guess > myNumber: print('输入的数字大了') elif guess < myNumber: print('输入的数字小了') else: print('恭喜你猜对了') break