Where is the wrong?


hay guys
where is the problem here
i didnt get any problem
but the game isnt correct doing what i make it to do!!
when i put any word always say

print 'Welcome to the Pig Latin Translator!'
# Start coding here!
original = raw_input("Enter word:")
original = ("")
if len(original)>0 and original.isalpha()==True:
    print original
    print ("empty")



Remove the line of code number four, that is: "original = (" ")"
In the fifth line of your code give a space for the ">" sign between "if len (original)" and "0". Also remove this "== True"
In the sixth line, print does not need value, that is, you can to draw that "original" from there and leave print alone.
Also remove these parentheses from the "empty" print.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.