Simple errors


Traceback (most recent call last):
File "python", line 3, in
NameError: name 'choise' is not defined

choice = raw_input('Enjoying the course? (y/n)')

while choise != "y" and choise != "n":  # Fill in the condition (before the colon) 
    choice = raw_input("Sorry, I didn't catch that. Enter again: ")


choice and choise are two different things. Make sure to spell it correctly all the time


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.