pycod
很多人在说我们讲故事吹NB 但是我们吹过的NB ,正在一一变为现实 !!!!!

> a=""
>>> assert a
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> assert not a
>>> b=True
>>> assert not b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> assert b
>>>

 

 

e "help", "copyright", "credits" or "license" for more information.
>>> a=""
>>> assert a
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> assert not a
>>> b=True
>>> assert not b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> assert b
>>>

 

 

 


>>> assert ""
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AssertionError
>>> assert not ""
>>>

posted on 2021-07-14 21:33  pycod  阅读(327)  评论(0编辑  收藏  举报