Oops, try again. Your code looks a bit off. Check the Hint if you need help!


Im pretty sure I have the right code.
original = raw_input("Enter a word:")
if len(original) == 0:
print original
print "empty"


Notice this line and you will have found your error.


I updated my code so it looks like this
original = raw_input("Enter a word:")
if len(original) >0:
print original
print "empty"

and the error I get in the console is

File "python", line 6
print original
IndentationError: expected an indented block


Does your code look like the following,

Python Code:

original = raw_input("Enter some stuff")
if len(original) > 0:

Notice my indentation levels. Each indent is == 4 spaces.


Thanks man i forgot i needed to indent.


Ok that works but what do you do when you get a builtin_function_or_method has no len


Is indentation all about giving spaces?
Why is that so necessary?
Pls help.


What's indentation madam?