3. Input!


#1

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:')


#2

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)


#3

It's giving me an error message:

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


#4

Wait I'm not typing original:

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


#5

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


#6

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