Conditionals in Python


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


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


thank you replying but as per AND has more precedence than OR so it should be evaluated before OR.