python 笔记(三) 断言(assert)

用来调试程序的时候用,当程序有误时,强制抛出异常

posted @ 2017-10-28 09:52  walker_2017  阅读(137)  评论(0)    收藏  举报