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
174,177 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.