Mistake with the output


Here is my code

# Start coding here!

original= raw_input("Enter a word:")
print original
if len (original) > 0 and original.isalpha():
print original
print "empty"
I am not getting the right output.please help me to find my errors.


That defeats the program, unless you want it to print "empty".


Get rid of lines 2 & 3 and you should be alright :slightly_smiling: