With following condition, what should Python return? In which sequence the condition will get executed?
True or False and False and True
AND has a higher precedence than OR.
True or False and False and True -> True or TRUE and True -> True or TRUE -> TRUE.
http://www.mathcs.emory.edu/~valerie/courses/fall10/155/resources/op_precedence.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With