25断言 assert关键字

对程序结果进行预测性的判断  assert

需要手动开启 (-ea)

 手动开启断言

 

posted @ 2019-07-25 17:22  三十六烦恼风x  阅读(103)  评论(0)    收藏  举报