4/11. Check Yourself!


I don't know what is wrong with this line of code.

Traceback (most recent call last):
File "python", line 7, in
TypeError: object of type 'builtin_function_or_method' has no len()

This is what the console window keeps saying...


I really don't know exactly where this first surfaced, but it is catching up everyone who copies it:

raw_input("Enter a word:")
original = raw_input

The above treats a function as a variable.

original = raw_input("Enter a word:")

is the correct way to write this statement.


Thank you, that worked!