My code is working exactly as I want it to and how I think the instructions require me to. What is wrong?
The instructions list:
Fill in the loop condition so the user will be prompted for a choice over and over while choice does not equal 'y' and choice does not equal 'n'.
I expected my code to be accepted as it generates no Python errors and it works as designed
choice = raw_input('Enjoying the course? (y/n)') while choice <> "n" and choice <> "y": # Fill in the condition (before the colon) choice = raw_input("Sorry, I didn't catch that. Enter again: ")