4. check yourself


I get this error File "python", line 4
if len(original) > 0:
SyntaxError: invalid syntax
and it says "oops did you delete the variable "originL"

Replace this line with your code. 
this is exactly my code print 'Welcome to the Pig Latin Translator!'

original = raw_input("Enter a word: "
if len(original) > 0:
print original
print "empty"


Does that look right to you?


A post was split to a new topic: Wont print the original


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