>>> age = 10 >>> assert 0 < age < 10 Traceback (most recent call last): File "<input>", line 1, in <module> AssertionError >>> assert 0 < age < 11
python 断言
原文:https://www.cnblogs.com/lianghong881018/p/11078324.html