Can someone tell me why 5 <= -15 == 5 >= 1 != 20
is False.
Because when I tried to solve it I did the following:
i) <= , >= have higher priority so it becomes False == True != 20
ii) ==,!= have same priority so based on associativity i.e from left to right it becomes False != 20
iii) Finally, The answer turns out to be True
But, When I tried the same in the python interpreter it returned False
I want to understand why that's happening? Thanks in Advance.