from random import randint
num = randint(0,100)
print("Guess what I think:?")
bingo = False
while bingo == False:
answer = int(input())
if answer < num:
print("too small!")
if answer > num:
print("too big")
if answer == num:
print("bingo")
bingo = True
弱智python小游戏猜数字
最新推荐文章于 2021-12-06 00:23:56 发布