Python precedence 1 < 0 == 0 --> False

Viewed 20

Why this expression evaluates to False. print(1 < 0 == 0)

You would think that the expression on the left is evaluated first and then the expression on the right, thus returning True

Thanks!!

0 Answers
Related