How do I check if a tuple contains values of 100
or 200
?
I've tried:
long_c_ABANDONEDBABY = 100
long_c_HARAMI = 200
# also tried: if (100 or 200)
if (100, 200) in (long_c_ABANDONEDBABY, long_c_HARAMI):
print "True"
But I get false positives, how can I do this?
The question Can Python test the membership of multiple values in a list? is about checking whether a tuple contains all of the given values, this question is about containing at least one of them.