Files
openide/python/testData/intentions/PyInvertIfConditionIntentionTest/conditionChainedComparisons_after.py
Aleksei Kniazev d18717b0ec PY-15046: fixed tests location
GitOrigin-RevId: 89137463dee2d6a3862b80c98e5a173639c1defe
2020-10-19 15:47:28 +00:00

6 lines
145 B
Python

value = 1
if (value is None or (1 >= value or value >= 100)) and value != 1:
print("Not in range 1..100")
else:
print("In range 1..100")