Word up


#1

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

make sure to enter something valid when prompted for it. (valid: only aplhabetic letters (a-z)

For the rest, your code is fine. If problem, persist try a different browser