I am trying to compare a variable with two values not equal to but is not working
if 'Home' or 'Away' not in sku:
print(sku)
data = [sku, price]
else:
print("Error")
2nd way
if sku!="Home" or sku!="Away":
print(sku)
data = [sku, price]
else:
print("Error")
What I am missing here? Why it is passing nevertheless to data=[sku,price] in both cases?