Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Alex Pearson
1,820 PointsAnswer not accepted
I have checked my work in the python console and still receive an incorrect response.
name = "Alex" subject = "Treehouse loves {}"
print(subject.format(name))
Treehouse loves Alex
Perhaps I am reading the question incorrectly, but at this point I am unable to continue.
Cheers
name = "Alex"
subject = "Treehouse loves {}"
print(subject.format(name))
2 Answers

Vidhya Sagar
1,568 PointsYou dont have to use print.The challenge has just asked you to assign it and leave it as such. .format can be used anywhere ,not only in print command .
name="ALex"
subject="Treehouse loves {}".format(name)

Alex Pearson
1,820 PointsVidhya Sagar, thank you for your response. I was able to complete the challenge and have a better understanding of what the question was asking for.

Alexander Davison
65,456 PointsCan you please provide a Best Answer for Vidhya? Thank you.
It will mark your question as answered and It will also give 12 forum points to the person who receives the Best answer.
Thanks for understanding
Alexander Davison
65,456 PointsAlexander Davison
65,456 PointsYour answers are fantastic.
I noticed something. Sorry if this sounds mean, I'm just trying to help you make even more professional answers
You shouldn't have spaces before punctuation (!, ., ,, etc). You also should have spaces after punctuation.
Instead of:
You can write more professionally like this:
Again, this isn't required, and no, I'm not trying to be mean. I'm just trying to help you make your answers be more professional
Just a heads up!
Vidhya Sagar
1,568 PointsVidhya Sagar
1,568 PointsHey Alexander Davidson. Thanks man. I really apperciate it. I am i beginner and i did not take you as mean, infact i want you to guide me in such ways. Cheers. Happy Coding.