Pyglatin - Ending up
So I've gotten my code to give me the correct output but I keep getting the following error message:
"Oops, try again. The value for the original variable looks off, make sure that you entered a word containing only letters."
I've really tried but I can't see what I did wrong. Can anyone help me out on this one
pyg = 'ay' word = raw_input('Enter a word:').lower() first = word new_world = word + first + pyg if len(word) > 0 and word.isalpha(): print new_word[1:len(new_word)] else: print 'empty'