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 trial

Python Python Basics (2015) Python Data Types Strings

Kelly Dragna
PLUS
Kelly Dragna
Courses Plus Student 161 Points

On challenge task 2 of 2 of the Python basics strings portion is rejecting everything I attempt.

I am doing exactly what was presented in the video. Yet it is still rejecting everything. I do not know where to turn.

Steven Parker
Steven Parker
231,275 Points

If you link to your challenge (this message links to a video), and show your code then someone can try to spot the problem.

1 Answer

Daniel Gauthier
Daniel Gauthier
15,000 Points

Hey Kelly,

The code the challenge is looking for is:

name = "Steven Parker"

subject = "Treehouse loves" + name

It really just wants to know that you understand how to concatenate within a variable.

Also, if you put a space after 'loves', that would cause issues too, even if it would prevent the words from squishing together when displayed.

Good luck with the course!