标签:NPU 猜数字 python 类型 bre class ESS guess number
myNumber = 5 while True: guess = int(input(‘请输入一个数字‘)) if guess > myNumber: print(‘大了‘) elif guess < myNumber: print(‘小了‘) else: print(‘恭喜答对了‘) break
标签:NPU 猜数字 python 类型 bre class ESS guess number
原文地址:https://www.cnblogs.com/Millie/p/8982602.html