No, I didn't delete the variable called original!


Hi! Can someone please help check what I'm doing wrong? Have been stuck on this for a while.

PygLatin 1.4 Check Yourself

I'm getting the prompt: "
Oops, try again. Oops! Did you accidentally delete the variable called original?" as well as the error message:

File "python", line 6
SyntaxError: invalid syntax

print 'Welcome to the Pig Latin Translator!'

original = raw_input("Enter a word")
if len(original) > 0:
    print original
    print "empty"


Your else needs to be at same indent as if


oh wow, can't believe that was it. thank you!