Hi. This is my code. I have had trouble for a while:
print 'Welcome to the Pig Latin Translator!' original = raw_input("Enter a word:") if len(original)>0: print original else; print "empty"
The error comes up as:
Your code looks a bit off. Check the Hint if you need help!
I checked the hint section and it hints to use the ">" symbol. I obviously am using the > symbol in the third line.
Apparently there is something wrong with line 5 as well which would be the "else:" line.... it says it is an invalid syntax. I don't know what is wrong with line 5. It looks correct, unless if I am missing something.
Help please. Thanks in advance.