Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
How is the answer suppose to look, when I cannot delete lines of code. Do type what's correct underneath?
i.e..... print("Thanks for playing along') has a syntax error, so is the right way to do it, print("Thanks for playing along!") and so on for the others, like, print(5+5) underneath the wrong code ?
print("Hello") print(name) name = "Hello" print("Let's do some math!") print(5 + "a") 5 + 5 print("Thanks for playing along!') "Thanks for playing along!"
Chris FreemanTreehouse Moderator 68,064 Points
You've on the right path. Note that a variable needs to be defined before it's referenced. The rest is mostly missing or mismatched quotation marks. You can't concatenate/add an integer and a string, They need to both be numbers (add) or strings (concatenation).
Post back if you need more help. Good luck!
Steven Parker218,833 Points
Strings can be made using either type of quote, but any single string must start and end with the same kind.