I did the right thing that the instructions was asking, but it says that I have an error that 'word' is not defined. What should i do? Heres the error that shows up on the console window:
Oops, try again. Your code did not run to end - see the console window for the error message. Traceback (most recent call last):
File "python", line 2, in
NameError: name 'word' is not defined
Heres my code:
pyg = 'ay' first = word[1:len(new_word)] new_word = word + first + pyg original = raw_input('Trump') word = original.lower() if len(original) > 0 and original.isalpha(): print original else: print 'empty'
Please help me