I'm trying to check if "i" is not equal to "test" or "test2". If I set "i" to str("test") or str("test2) then it will say "i is not test or test2", and if I set "i" to something else like str("x") it functions normally.
if str(i) != str("test") or str("test2"):
print ("i is not test or test2")
else:
print ("i is test or test2")