先決條件與後置條件可以使用 assert 陳述句來指定,它具有如下的語法: assert boolean_expression,optional_expression 若 boolean_expression 的求值結果為 False ...
確定! 回上一頁