基本的使用就是 assert condition ,当condition 为true,就继续往下运行;当condition 为false,就抛出一个错误,程序停止。 断言的使用场景. 断言的使用 ...
確定! 回上一頁