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 trialErik Keippel
44 Points'name=erik"'
can someone tell me what exactly is wrong here with this code?
2 Answers
Cameron Lauf
Courses Plus Student 8,115 PointsYou're close Erik! When setting a variable you only need quotes around the value. The value here is your name. It should look like name = "Erik". Hope this helps you out.
Henrik Christensen
Python Web Development Techdegree Student 38,322 PointsYou only need to put quotes around the string (in this case your name) and not the variablename (in this case name):
name = "Erik"
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsHi Erik Keippel
I have deleted duplicate threads you have posted regarding this particular question. Both Cameron and Henrik have provided answers with explanations. Please try not to post multiple threads for the same questions as this clutters the Community.
Thank you :)
Jason ~Community Moderator