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 Meet Python Using Input

Sharvin Singh
Sharvin Singh
1,176 Points

What does it mean when the error message says "oops! task 1 is no longer passing"?

I am completely stuck on the last question on the last task, I've tried countless times to answer, however a error message appears.

using_input.py
favorite_color = input ("What is your favorite color?")
print ("The color" favorite_color "is a great color!")

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! The "Task 1 is no longer passing" message is most commonly caused by a syntax error. In this case, you have a variable name in the middle of two strings, but with no delimiter. Take a look at the preceding video around 0:48 where you can see an example of this. In the code part, above the console, we see:

print("Hello,", first_name)

This line prints out first the string "Hello," then the value stored in the first_name variable. To join them with a space and not introduce a syntax error we must have a comma between the string and the variable name.

Hope this helps! :sparkles:

Sharvin Singh
Sharvin Singh
1,176 Points

Hi Jennifer,

Thanks so much, that was a massive help!