3. Input!


What did I do wrong?

My code:

print 'Welcome to the Pig Latin Translator!'

Start coding here!

raw_input("Enter a word:")
variable_name = raw_input('Enter a word:')


What's it doing differently from what it should? That's where one needs to start debugging. (It's not just "wrong" - it's doing something differently, and one would have to describe that difference or the problem is unspecified and there would be nothing to do)


It's giving me an error message:

File "python", line 3
Start coding here!
SyntaxError: invalid syntax


Wait I'm not typing original:

Oops, try again. Did you create a variable called original?


Oh I got it never mind! Thanks for the help @ionatan!


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