Check Yourself


I keep putting this in:
raw_input("Enter a word:")
original = raw_input("Enter a word:")
if len(original) > 0:
print original
print "empty"
*keep in mind this is not the indentation used

My error keeps saying that i forgot to put isalpha() in my code and I was wondering where to put it


The above line can be removed. The line that follows is the correct usage.

Should also include the .isalpha() as indicated in the error message.

if len(original) > 0 and original.isalpha():