I want to carry this out :
if ('a' or 'b' or 'c' or 'd') in ['1' , '@' , 'L' , 'b' , '+']:
print("Valid")
Since 'b' is present in the list the output should be "Valid" but instead there is no output. After searching for so long I found that multiple 'or's cannot be used. Is there any other way? P.S. if this is put instead :
if ('a' or 'b') in ['1' , '@' , 'L' , 'b' , '+']:
print("Valid")
The output is "Valid" but I want multiple elements in tuple