Hey there,
I need help writing a python program that takes your input and gives it back in a pig latin type way.
This is what i got so far:
running = True
while running:
word = raw_input("Enter word:")
if word[0] in "aeiou":
print word + "way"
else:
print word[1:] + word[0] + "ay"
But it won't take more than one word.
I'm not sure how to make it give each word back in that pig latin.
It would be great if anyone could help.
Thanks !
Editor:
Please use code tags with your code to preserve the indentations. Otherwise the code is very difficult to read and not too many folks will help.
[code=python]
your Python code here
[/code]