PygLatin Check Yourself


I need some help with Check Yourself Pyglatin Translator, I can't figure it out


File "python", line 8
SyntaxError: invalid syntax

It also said:

Oops, try again. Oops! Did you accidentally delete the variable called original?

I'm not quite sure what I did wrong, but it's probably really obvious. I'm also pretty sure I didn't delete the "original" variable, but I could be wrong


print 'Welcome to the Pig Latin Translator!'

# Start coding here!
name = raw_input("Enter a word:")
original = raw_input()
if len(original) <0 and original.isalpha():
    print original 
        print "empty"


Hi @thederpsquid1,

The indentation of this else block needs to be aligned with the indentation of the overlying if block that it is intended to match ...

        print "empty"


Thank you, I've been stuck on this for about a week now.