4. check yourself


#1




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
else:
print "empty"


#2

Does that look right to you?


#3

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


#5

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