can someone explain me why when I use this if statement:
if template_decider != ("B" or "P"):
something_went_wrong()
else:
print("Hello")
If user inputs B the statement returns "Hello" but if user press P it resturns function something_went_wrong?
I'm really confused why it not always returns "Hello"
Thank you.