My code has some sort of error, stating this every time I type in y or n for my input:
Oops, try again. Does your code accept anything other than "y" and "n"?
The code should work fine... I even try an input other than y or n and it works, but if I type in either of those two letters as the next input it shows this error.
choice = raw_input('Enjoying the course? (y/n)') while choice != 'y' and 'n': # Fill in the condition (before the colon) choice = raw_input("Sorry, I didn't catch that. Enter again: ")