Doesnt work (check yourself)


#1

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


#2

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.


#3

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


#4

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