>>> age = 10 >>> assert 0 < age < 10 Traceback (most recent call last): File "<input>", line 1, in <module> AssertionError >>> assert 0 < age < 11