Oops, try again. Does your code print "empty" when len(original) is 0?


#1

print 'Welcome to the Pig Latin Translator!'
original = ""

if len(original) >0:

Start coding here!

original = raw_input("Enter a woard:")

else:
print "Python"


#2

please use markup next time. If you string is empty, you print python, you should print empty (case-sensative)


#3

Ok sir, but I try am not getting the required output.


#4

Did you resolve the error message? There is a help topic about markup:


#5

I got the correct solution :slight_smile:


#6