4/4 PygLatin Help!


print ‘Welcome to the Pig Latin Translator!’

Start coding here!

original = raw_input(“Enter a word:”)
if len(original) > 0:
print original

else print “empty”:

This comes out with an error of invalid syntax on the else line but i have no idea why?


if condition:
  # do something
  # do something else


Appreciated, thank you!


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