Hey There, got to the PygLatin lesson and for some reason my code fails to work.
print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input("Enter a word:") word = raw_input if len(word) > 0: print word else: print "empty" Welcome to the Pig Latin Translator! Enter a word: wo Traceback (most recent call last): File "python", line 7, in <module> TypeError: object of type 'builtin_function_or_method' has no len()