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

When I submit task 2 of 2, it reads 'Oops, it looks like Task 1 is no longer working'...

I have successfully completed task 1 of Challenge 2 from Week 2 on strings. When I go onto next task to use format, I keep getting the same error message 'Oops. It looks like Task 1 is no longer working'. I have tried resetting several times and keep getting the same error message.

strings.py
name = "Charlotte Milloy"
subject = "Treehouse loves {}".format (Charlotte Milloy)
subject = "Treehouse loves {}".format (name)

1 Answer

Steven Parker
Steven Parker
231,268 Points

Any syntax error will cause the validations of previous tasks to fail. In this case, it's caused by undefined references on the second line.

You can remove that 2nd line entirely, the line after it satisfies the challenge requirements.