```
empty_Carton = ''

print("Is the milk carton in the fridge empty? y/n")

input(empty_Carton)

while (empty_Carton != 'y') or (empty_Carton != 'n'):
    if empty_Carton == 'y':
        """Branch here"""
    elif empty_Carton == 'n':
        """Branch here"""
    else:
        print(empty_Carton + " is not a valid input. Type: 'y' or 'n'")

```

When I run this code it enters and infinite loop stuck on the 'else' condition when entering a correct 
input of 'y'

I tried moving the code around and changing the comparison operator but it still ends up in an infinite loop.