Which of the following will be fully evaluated that first option will be checked inclusive the second option, if the following variables represent the following boolean values
a = True
b = False
not a or b
a and b
a or b
not and b
b and a
b or a
I tried applying the booleans principles of and, or, not seems I still can't get it correct am failing. I evaluated the options as follows
not a or b **short circuit**
a and b **full evaluation**
a or b **short circuit**
not a and b **full evaluation**
b and a **short circuit**
b or a **full evaluation**
Instead of variables
a = Trueb = Falseyou could use functions withprint()to see which function was executed.Result: