I get an error msg: indentationaError


#1

This is my code:

original = raw_input("Enter a word:")
if len(original) > 0:
   print "%s" %(original)
 else:  
     print "empty"

#2

The space before else: is the deal breaker.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.