Need help at section of "Check yourself...Some More" , Python


#1

I have some trouble when run the code below:

print 'Welcome to the Pig Latin Translator!'
original = raw_input("Enter a word:")
if len(original) > 0 and original.isalpha():
print original
else:
print"empty"

And the system keep reminding me of "Oops! Did you accidentally delete the variable named original?"
I want to know where lies the mistake? Thanks!


#2

dont't forget to hit tab when starting you 'if' / 'else' statement like so

def whatever():
( hit tab) if condition :
# do something
(hit tab) else condition :
# do something else


#3

That's worked out ! I haven't get used to the format of Python yet but I'm sure that will help me learn better about its grammar. Thank you !