摘要: python2下,assrt使用方法为:def foo(s): n = int(s) assert n != 0, 'n is zero!' print nfoo(0),结果为File "D:/... 阅读全文
posted @ 2018-12-24 14:57 neo3301 阅读(48) 评论(0) 推荐(0) 编辑