Doesnt work (check yourself)


this is my code it works but in the console if i type anything it gives some error relating to the last exercise

print 'Welcome to the Pig Latin Translator!'

Start coding here!

Original = raw_input("enter a word:")
if len (Original) > 0:
print "present"
print "empty"


What is the error, exactly? I'd love to help

EDIT: Quick guess. Have you indented the stuff in your if and else statements? Python needs that.


instead of print "present" Type print original make sure it is lowercase


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