https://www.codecademy.com/courses/python-beginner-2W5v7/1/4?curriculum_id=4f89dab3d788890003000096#


#1




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
else:
    print 'empty'
word = original.lower()
first = word[0]
new_word =word[1:len(word)]
print new_word + first + pyg


#2

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