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
amado aguilar
1,674 PointsPython Basics Can someone help me out on the 2nd course - step 7(string formatting) - challenge task 2, on python basic
I typed in name = "xyz" subject = "Treehouse loves {}".format(xyz)
This seems to be what it's asking me to do but it's a no go. Can someone help a friendly coder out plz.
2 Answers
Steven Parker
243,658 PointsEven without the challenge, I think I've spotted it...
It looks like you're not using the right variable for the format.
You assigned a variable name but your format argument is xyz.
amado aguilar
1,674 PointsThank you Steven P. I'm still quite not sure how to code this. Here is the link. https://teamtreehouse.com/library/python-basics/python-data-types/string-formatting
amado aguilar
1,674 PointsNevermind. I just got it. Thank you very much Steven P.
Steven Parker
243,658 PointsSteven Parker
243,658 PointsCan you provide a link to the challenge itself?