Move it on back


This is my code

print "Welcome to PygLatin"

pyg = 'ay'

original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
    word = original.lower()
    first = word[0]
    new_word = word + first + pyg
    new_word = new_word[1:len(new_word)]
    print new_word
    print 'empty'

This is my error

Oops, try again. Oops! Did you accidentally delete the word variable?


you seem to be running ahead of the exercise, sometimes doing more then required in a exercise, will cause an error. Remove additional content, and you should be good to go