Day19-Random模組. Python 30天學習日誌系列第19 篇 ... random.randint(a,b),用於產生指定範圍內的隨機整數。參數a為下限,b則是上限。 >>> random.randint(1,10) 3 ...
確定! 回上一頁