> 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 ""
>>>

相关文章:

  • 2022-02-15
  • 2021-12-23
  • 2021-12-08
  • 2022-01-27
  • 2022-02-18
  • 2022-01-09
猜你喜欢
  • 2022-01-29
  • 2021-05-03
  • 2021-08-07
  • 2021-12-08
  • 2022-12-23
相关资源
相似解决方案