函式括弧中的第一個值15會傳給參數num1,第二個值20則傳給參數num2。這種傳入參數的方法稱 ... def progression(start, stop, step = 1): # 設定step參數的預設值是1.
確定! 回上一頁