operator = input("Please select one option: add/subtract/multiply/divide: ")
if operator != "add" or operator != "subtract" or operator != "multiply" or operator != "divide":
print("The option you chose (" + operator + ") is not valid\nPlease try this program again.")
sys.exit()
Result:
Please select one option: add/subtract/multiply/divide: add
The option you chose (add) is not valid
Please try this program again.