本篇文章介紹Python 的assert 陳述。 ... 判斷,如果條件為真,程式(program) 繼續執行,反之條件為假的話,就會發起Assertion 例外(exception) ,中斷程式執行。
確定! 回上一頁