i am checking two values inside list using if condition and another string should not be in list in python below is my code but it is giving wrong output
lis = ['a','b','c','d','e','f'] #list values or lis =[]
if ('z' or 'a') and not 'x' in lis :
print "yes"
else :
print "no"
and output is
yes
is there anything wrong?