Why in Python print(bool(7>8)==False==True) results False, logically it should be True?
as bool(7>8) is False, therefore
False==False==True -> True==True -> True (NOT False)
as the associativity is left to right.
The precedence of <,>,>=,<= are same as of ==, != or different?
New contributor
Aman Raj Srivastva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.