Oops try again error


#1

obsa1995hotmail.com12m
What have I done wrong here...

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
print original
else:
print 'empty'

It gives me:

Oops, try again. Did you create a variable called word?


Word up
#2

Hi,

Your indentation is completely wrong. Statements inside of if and else need to be four spaces to the right.