1
1x7y2z9
True
Yes, this is explained in the docs:
The expression x or y first evaluates x; if x is true, its value is
returned; otherwise, y is evaluated and the resulting value is
returned.
Another one (also explainable):True
# Above is same as (operator precedence):True
# Here is something different:False
Yes, this is explained in the docs:
The expression x or y first evaluates x; if x is true, its value is
returned; otherwise, y is evaluated and the resulting value is
returned.
Another one (also explainable):True
# Above is same as (operator precedence):True
# Here is something different:False