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


#1



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
else:
^
SyntaxError: invalid syntax


print 'Welcome to the Pig Latin Translator!'

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


#2

Your else needs to be at same indent as if


#3

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