Pyglatin lesson:check yourself-error to fix


print 'Welcome to the Pig Latin Translator!'

# Start coding here!
original = raw_input("Enter a word: ")
if len(original) > 0:
print original
    print "empty"

the error is "Did you accidentally delete the variable called original? " -why is this given out an error?


Indentation, as always.

This doesn't help...


i tried that already with
if len(original) > 0:

it still has a problem with the variable original


Ignore what codecademy is saying and read the error message in your console instead
consider carefully what it says, google it if it's unclear


the console says

File "python", line 6
print original
IndentationError: expected an indented block

is this the proper syntax?


Just indent 'print original' line, I'm pretty sure that's all you need.