... 例如: def max(num1, num2): return num1 if num1 > num2 else num2 定義函式時 ... return,如果函式執行完畢但沒有使用 return 傳回值,或者使用了 return 結束函 ...
確定! 回上一頁