After entering a string or null for the raw input I get the same error(below), which I think means the code is breaking at the len() function.
Traceback (most recent call last):
File "python", line 7, in
TypeError: object of type 'builtin_function_or_method' has no len()
This doesn't make sense to me because len(s) is defined as a built in function of python. what am I missing?
raw_input("enter a word") original=raw_input if len (original) > 0: print original else: print "empty"