Plz help


print 'Welcome to the Pig Latin Translator!'

Start coding here!

raw_input("What's your name?")
original = raw_input()
original = raw_input("Enter a word:")
if len(original) > 0:
print original
return True
print "empty"
return True

plz help

Check Yourself

Don't need these two lines:

BTW, they are written incorrectly, the first line should be stored under a variable, otherwise you can not access it like you tried on the second line.

And you return things for functions, currently your if statement isn't inside a function, so the return statements need to be deleted. That should fix everything. :slight_smile:


Hi tmitchellwesterncent!
Calling for raw_input without assigning it to a variable does not do much for you! This is because you will not be able to use whatever was inputed!

In order for us to help you more than this, please add a link to the exact problem you are working on :slight_smile:


Here's the link:


Lol chipjumper36731, you edited your reply and made mine Irrelevant! Well helped!
tmitchellwesterncent I hope Your question has been answered!
Happy coding! :slight_smile:


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