基於Jupyter實現猜數遊戲(python)

實現猜數遊戲(python) from random import randint def guessNumber(maxValue = 10 , maxTimes = 3): #隨機生成一個整數 value = randint(1,maxValue) for i in range(maxTimes): prompt = 'Start to GUESS:'
相關文章
相關標籤/搜索