Help needed in Check Yourself


Please help in understanding what I am doing wrong. I have been stuck here for a long time and I will value your support

print 'Welcome to the Pig Latin Translator!'
original = raw_input("Enter a word:")# Start coding here!
if len(original) > 0 :
print original 
else : 
print "empty"


the exercise url is the same for everyone, it will load my own code

pleae copy paste your code to the forum


In this lesson we just need to ensure that the user actually typed something, means the length is greater than zero. Do that using the len() command.


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