雖然Python沒有宣告變數的指令,但在預設的情境下,Python還是會默認變數 ... import random print(random.randrange(1, 20)) #隨機產生介於1到20之間 ...
確定! 回上一頁