mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
GitOrigin-RevId: 89137463dee2d6a3862b80c98e5a173639c1defe
8 lines
259 B
Python
8 lines
259 B
Python
value = 1
|
|
absent_values = [1, 2]
|
|
present_values = [3, 4]
|
|
|
|
<caret>if value is not None and value >= 1 and value <= 100 or value == 50 and value not in absent_values or value in present_values:
|
|
print("In range 1..100")
|
|
else:
|
|
print("Not in range 1..100") |