```
if AMPM is not "AM" or AMPM is not "PM":
    AMPM = input('You entered an incorrect value for AMPM. Please, try again: ')

```

It just completely ignores the "Is not" part. I've tried doing != and I get the same result, where it just continues the if statement. Am I doing something wrong? 

the complete code: <https://pastebin.com/t6WmqPTr>