+ 5
Comparison operators can be "chained" in Python.
https://docs.python.org/3/reference/expressions.html#comparisons
a < b < c
is evaluated as
a < b and b < c
Likewise
1 > n <= 9
is evaluated as
1 > n and n <= 9
Since n = 10, this evaluates to false.
+ 1
Basically, it reads expressions from left to right.
0
emm, 10 > 9



