Pyg Latin no ay


#1

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

So here is the code. I have looked up on the forum and I have basically what everyone else has. But the issue is when I put it through the ay at the end doesn't show up. If i put in book it comes out ook and that is it.


#2

Hi,

you print original[1:] but I think you meant to print new_word[1:].