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

pyg = 'ay'

original = raw_input('Enter a word:')

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


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