In python, if I have the following code:
a = True
b = True
if (a == True) or (b == True):
// Do stuff
My question is, in that if statement, does it check to see if b
is True
after it's already seen that a
is True
? Or does it execute the code in the if statement as soon as it sees that a
is True