Hi!. Mi program is working fine, apparently. It traslates any real word to PigLatin without problem. Even though at the end it appears the following message in the script board:
"Oops, try again.
The value for the original variable looks off, make sure that you entered a word containing only letters."
What am I doing wrong?
pyg = "ay" word = raw_input('Enter a word:') if len(word) > 0 and word.isalpha(): word = word.lower() first = word new_word = word + first + pyg length = len(new_word) print word print new_word[1:length] else: print "empty"