python作一个猜数字游戏 有三次机会

代码以下web import random temp = input("please input a number from 1 to 10\n") guess = int(temp) result = random.randint(1,10) i=0 while 1: if guess == result: print("yes,you win") br
相关文章
相关标签/搜索