Traceback (most recent call last):
File "python", line 7, in
TypeError: object of type 'builtin_function_or_method' has no len()
I expected the program to print the word i inserted back to me in Pyglatin.
I followed the instructions to the letter, and I can't seem to finish this exercise.
print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input("enter a word:") original = raw_input if len(original) > 0: #what am i missing? #what is supposed to go here? print original else: print "empty"