Testing testing is this thing on?


Im just wondering that why the code is not doing the pig latin even tho its exactly what code academy thought me to do it.

pyg = 'ay'
original = raw_input('Enter a word:')

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

Replace this line with your code.


of course it lets me pass the course but I still wonder whats wrong with the code, or is there anything wrong with my code


print original

you're printing the word instead of the new word.


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