When I try to just let the Program count the length and if it contains characters it says:
Welcome to the Pig Latin Translator!
Enter a word: test
Traceback (most recent call last):
File "python", line 6, in
AttributeError: 'builtin_function_or_method' object has no attribute 'isalpha'
it says "isalpha" isn`t an attribute even though the "tutorial" and the internet is telling me that I wrote it correctly! I completely struggle with this exercise
print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input("Enter a word:") original = raw_input if len("original") > 0 and original.isalpha: print original else: print "empty"