Right output but keeps saying the same thing?


#1

pyg = 'ay'

original = raw_input('Enter a word:')

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

else:
print 'empty'

OK, so this does what its supposed to do.
I keep getting a notification saying "Oops, try again. It looks like you printed the correct translation of "gav", but make sure to set new_word equal to the slice as well." When I click save and submit.

I think its because I havent done it exactly as I was supposed to or something. Kind of like when you dont use a capital letter when the example has one. But Ive poured over it and cant work out what it means .

Anyone please help?

What does it mean?


#2

Its fine Ive found the answer in another post.