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!

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 trial

Python Python Basics (2015) Python Data Types String concatenation

I 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?

You 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.

Hello, thank you for your answer, try it that was as well, but it give's me a syntax error.

1 Answer

Ari Misha
Ari Misha
19,323 Points

Hiya 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. (:

literally what I put ;)