I've typed some code in Python 3 idle and don't understand the output. Can someone explain, why this happens:
1 > 0 == True
False
1 > (0 == True)
True
(1 > 0) == True
True
Also you can replace digits to bools and output will be the same.