When I compile it, it works just fine... until after I put in a word. Then it says this:
Welcome to the Pig Latin Translator!
Enter a word: hello
Enter a Word:
Traceback (most recent call last):
File "python", line 9, in
NameError: name 'isaplpha' is not defined
In my code, I already gave isalpha a value. I had to remove the period or it would give me a syntax error: File "python", line 4 .isalpha = "Number Checker" ^ SyntaxError: invalid syntax print 'Welcome to the Pig Latin Translator!' raw_input("Enter a word:") original = "Enter a Word:" isalpha = "Number Checker" if len(original) > 0 and len(original) < 100: print original else: print "empty" isalpha = "Number screening thing" #Pretty self-explanitory here. if isaplpha(1,2,3,4,5,6,7,8,9,0): print "Use proper words." else: print "Great job!" Please help.