compareusr = str(input())
compare = "austin" or "cloud"
if compare == compareusr:
print("it worked")
else:
print("it didnt work")
This may be a stupid question. I’m not the most fluent in python however I thought I knew enough for this comparison work.
Does anyone know why when the input=cloud the code does not work?!?!? It works with and, but why does it not work with or?