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 String concatenation

challenger task 2 of 2

make a new variable named 'Subject' that concatenats (uses the + sign) the strings "treehouse Loves" and your name variable. you're probably recieved an email or two with this subject already1

strings.py
name="Anubhav"
Name +="Singh"
print(name)
subject="Treehouse love"
subject +="Anubhav Singh"
print(subject)

2 Answers

james south
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
james south
Front End Web Development Techdegree Graduate 33,271 Points

you have way too much here. this is two lines of code. you have to put exactly what it is asking for, so you need loves, not love. add the name variable to the string and that's it!

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

name and Name aren't the same variable since they have different capitalization.