Mistake with the output


#1

Here is my code

# Start coding here!

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


#2

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


#3

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