Could you please advise how python runs several terms if?
For example:
a = 0
b = 0
c = 0
if a == 0 and b == 1 and c == 0:
# test fails
I guess python internally splits the test into 3 if. But then, there are 2 possible cases:
- python runs the all 3 if one by one, and one of them is wrong, the test fails
- or python runs if one by one, at the first failed if, the test fails and the others if are not run
How does python run this test internally?
Thank you and regards, Hugo