Reputation: 5010
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?
Upvotes: 1
Views: 2459
Reputation: 39763
The standard OR operator is NOT exclusive: True or True
gives True
.
Upvotes: 1