Python : 如何使用return提前終止函式? · check_number(num): · if num < 0: · print("數字不能為負數") · return # 提前終止函式的執行, · None #同效果 · elif ...
確定! 回上一頁