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 trialPavel Karavutev
Courses Plus Student 278 PointsI want you to help me make a string to use for an email greeting. To start we need a variable named name that's assigned
I don't get the task? Please help me!
name = Deja vu, huh?
Pavel Karavutev
Courses Plus Student 278 PointsHello, thank you for your answer, try it that was as well, but it give's me a syntax error.
1 Answer
Ari Misha
19,323 PointsHiya Pavel! If you want anything to be a string , just wrap it in double or single quotes.
name = "Deja vu, huh?"
But i'd highly recommend ya to stick to instructions in the challenge coz it'll benefit ya a lot. Hope it helped. (:
Randy Eichelberger
1,491 Pointsliterally what I put ;)
Randy Eichelberger
1,491 PointsRandy Eichelberger
1,491 PointsYou need to create a variable and assign it a value that is a string, such as
name = "Pavel"
You need to use quotation marks to assign a variable a value that is a string.
Deja vu is referring to the fact that you have already done a challenge where you did this previously.