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 trialMladen Rajkovic-Alvik
7,279 Pointscan't find the solution
i'am trying and trying with this task but i never get it right.
6 Answers
Ken Alger
Treehouse TeacherMladen;
The code challenge checker can be rather picky. You should be fine without concatenating the place holder with the string. I believe the challenge instructions show it as Treehouse loves {}
without breaking it apart.
Post back if you are still stuck.
Happy coding,
Ken
Mladen Rajkovic-Alvik
7,279 PointsHello Ken,
name = "Mladen"
subject = "Treehouse loves " + "{}".format(name)
I'm using same code on Python anywhere and it works. can't understand why it dosent accept my answer at treehouse /Mladen
[MOD: added ```python markdown formatting]
Chris Freeman
Treehouse Moderator 68,441 PointsThis solution should have been accepted. Tagging Kenneth Love to review grader restrictions.
Mladen Rajkovic-Alvik
7,279 PointsThank you Andreas! Keep up the good work with Python.
Ken Alger
Treehouse TeacherMladen;
Can you post the code you have been trying?
Thanks,
Ken
Mladen Rajkovic-Alvik
7,279 PointsThank you, it work's! /Mladen
Andreas Wassberg
5,856 PointsGood work Mladen.
james white
78,399 PointsI actually found the code is this thread to be more helpful:
https://teamtreehouse.com/community/works-in-console-but-doesnt-pass-the-challenge
Chris Freeman
Treehouse Moderator 68,441 PointsWhy was this down-voted?