PygLatin: ENDING. Something wrong with code!


#1



pyg = 'ay'
original = raw_input('Enter a word:')
word = original.lower()
first = word[0]
if len(original) > 0 and original.isalpha():
    print word[1:] + first + pyg
else:
    print 'Error, please ensure you are typing using only letters.'

**Oops, try again. It looks like you printed the correct translation of "qwerty", but make sure to set new_word equal to the slice as well.**

## Tell me please what is wrong with my code???


#2

you can't delete the new word_word variable you created earlier. you will need in order to pass the exercise


#3

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