摘要: number = 9 while True: guess = int(input('请猜一个数字\n')) if guess > number: input('猜的数字大了') elif guess < number: input('猜的数字小了') else: ... 阅读全文