level 5
print ("数字输入测试")
import random
guess = 0
temp = random.randint(1,10)
while guess != temp:
guess = input("来,输入一个正整数吧")
if guess == temp:
print("great!你猜对了")
else:
if guess > temp:
print("猜大了!")
else:
print("猜小了!")
print("see u next time")
print("测试结束")
2021年01月09日 16点01分
1