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
相關文章
相關標籤/搜索