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 Formatting

Ryan Shah
PLUS
Ryan Shah
Courses Plus Student 239 Points

how can i solve this problem ??

how can i solve this problem ?? any help will be appreciated

strings.py
subject = 'Treehouse loves {}.format(ryan)'

1 Answer

Taylor Schimek
Taylor Schimek
19,318 Points

Well, just looking at what you've given, there's a syntax error. The end quote needs to go after the closing } before .format()

Ryan Shah
Ryan Shah
Courses Plus Student 239 Points

Thank You but this is ain't working here.. Can you please help me to sort out this problem ??