标签:
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
标签:
原文地址:http://www.cnblogs.com/php-linux/p/5258208.html