import random #导入模块
n = random.randint(0,10) #定义变量
guess = int(input("input anyone to make it correct:"))
if guess > n : #多分支
    print("lagre")
elif guess < n :
    print("small")
else :
    print("correct")
print(n)
Categories: python

0 Comments

发表评论

Avatar placeholder

邮箱地址不会被公开。 必填项已用*标注