I was just wondering - is the or keyword exclusive?
I mean like given the following:
if x or y then
Would this return true if both开发者_开发问答 x and y were true? Or is it that one or the other but not both has to be true to execute the code inside the if?
The standard OR operator is NOT exclusive: True or True
gives True
.
精彩评论