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