My question is it:
for me, these two options should do the same thing:
1)
if "a" in x or "b" in x or "c" in x:
print ("xxxxxxxxx")
2)
if ("a" or "b" or "c") in X:
print ("xxxxxxxx")
but when I run them the results are diferents. The first option work good for me, but the second no. I want print "xxxxx" if a or b or c is in x.
where is the problem???
thanks