PygLatin Ending up I can't find the error!


I have no clue what's wrong.
I already looked into the Q and A and couldn't find any solution nor any help.
Can someone tell me why its not working?
Input : Test
Error message: Oops, try again. It looks like new_word contains "testtay" instead of "esttay"!

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


put all these lines inside the if statement.
also You have to store the slice new_word[1:len(new_word)] to new_word and
in next step print it.

Check instructions and read the theory again.
I hope it helps.


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