I'm not able get the output, despite I'm trying to follow the instructions.
I do not understand the error at 'if' statement ,please help!
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"
the error message is :
Welcome to the Pig Latin Translator!
Enter a word: Python
Traceback (most recent call last):
File "python", line 7, in <module>
TypeError: object of type 'builtin_function_or_method' has no len()