I am a bit confused here, please help


#1



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

I did my best but the I receive a note saying that "It looks like you printed the correct translation of "nikuze", but make sure to set new_word equal to the slice as well."


I was expecting the code to run successfly


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
    print new_word[1:len(new_word)]
else:
    print 'empty'


#2

new_word should contain the correct translation, so you need to store the slice in new_word, so you can print new_word without any further manipulation


#4

Thank you. It worked well.


#5