I need help! please! pig latin translator!


#1

Hi, I have been working on the Pig Latin Translator and I was successful at the actual objective, but now I want it to be able to have multiple words, and for it to be able to have spaces. I've been sitting here forever trying to make this happen, but I can't. Please help! Here's the code!
pyg = 'ay'

original = raw_input('Enter a word:')
word = original.lower()

if not original.isalpha:
word = original.lower()
first = word[1]
new_word = word + first + pyg
new_word = new_word[2:len(new_word)]

else original.isalpha:
word = original.lower()
first = word[0]
new_word = word + first + pyg
new_word = new_word[1:len(new_word)]

if len(original) > 0 and (original.isalpha() or not original.isspace()):

print new_word 
print "Great job!"

else:
print "Please record a valid entry"

Is there anyway for me to be able to do this? P.S. I know it's probably messed up. I left it go from frustration and I don't know where I stopped.


#2

Put the words in a list and then iterate through the list, translating each one