Hi all,

I am horribly confused on the PygLatin lesson. I keep getting the same error for line 7:
Traceback (most recent call last):
File "python", line 7, in
TypeError: object of type 'builtin_function_or_method' has no len()

Where am I going wrong?

print 'Welcome to the Pig Latin Translator!'

# Start coding here!
raw_input("Enter a word:") 
original = raw_input

if len(original) > 0:
 print original
else: print "empty"


Set original to be = to the first line, and remove the second.


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