The order precedence of python comparison operators is left to right. With this, print(3 > 0 == True)
shows False, but the equivalent statement: print((3 > 0) == True)
shows True.
Additionally, print(3 > (0 == True))
shows True.
So why is it that print(3 > 0 == True)
shows False?
My python version is 3.8.2.