'Pythonic "or" operation
In python I can write an expression like 3 < a < 10 and it gets evaluated with an and condition.
That is, 3 < a < 10 is a syntactic sugar for: 3 < a and a < 10
Is there a similar pythonic way to write it as an or condition?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
