If you have an if statement where several variables or functions are evaluated, in which order are they evaluated?
if foo > 5 or bar > 6:
print \'f
Operator evaluated from left to right. but only when the priority of all the operator is the same. When the priority of the operators is not equal then the operator will execute according to the priority.
ex.
False or False or True and False False
True or False and True or False True
False or False and True or False False
i.e First in the expression the operator having the highest priority executed then further execute.