Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSURENDRA MALLA
3,727 Pointsinput not working
input('how are you')
how are youfine
Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "<string>", line 1, in <module>
NameError: name 'fine' is not defined
2 Answers
Philip Schultz
11,437 PointsUmmm... It is kind of difficult to pick out the issue when you post like this. Are you sure that you are in the Python REPL?
Please read below on how to properly post your code for questions, that way everyone will be able to help you faster! Code Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting.
```html
<p>This is code!</p>
```
muggle
2,474 PointsI think that it is supposed to be
input("how are you")
instead of
input('how are you')
i believe, that you have to use the quotation marks that I use in my example instead of the marks that you use