PygLatin bug?


Why does this code not work? The output is correct.

pyg = 'ay'

original = raw_input('Enter a word:')

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


Those lines do not look correct. Check with the instructions.


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