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

English is not my native language and i find it hard to understand what i must do here !!

I dont really know what i have to do here not because i dont know the proper code but cause of not understanding the question.

strings.py
name = "vagelis"
subject = "Teehouse loves"
print(subject + name)

2 Answers

Steven Parker
Steven Parker
231,269 Points

Maybe these hints will help:

  • instead of "Treehouse" (with an "r"), you wrote "Teehouse" (no "r")
  • you don't need to print anything
  • assign subject using the combination of the string and name
  • be sure to add a space for separation

subject = "Treehouse loves {}".format(name)