Module 2

or

When at least one condition must be true.

At least one must be true

The or operator combines two conditions. The result is true when at least one of them is true.

Python
print(True or False)
print(False or False)
print(True or True)
True False True
Python
sample = "control"
if sample == "control" or sample == "treatment":
    print("Valid sample")
Valid sample

What does False or True evaluate to?