摘要: #断言a ='testing'if type(a) is int: print('error')assert type(a) is str#为True assert type(a) is int#为False。错误信息:AssertionError print('test1') 阅读全文
posted @ 2020-07-31 22:21 安好_世界 阅读(139) 评论(0) 推荐(0)