Conditionals in Python


#1

How the below expression results to False:
not not True or False and not True?


#2

You evaluate not first, then or, then and. Not not true is true. True or false is True. True and not true is false.


#3

thank you replying but as per https://docs.python.org/3/reference/expressions.html AND has more precedence than OR so it should be evaluated before OR.