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 Specific Index value

John DiGiovanni
PLUS
John DiGiovanni
Courses Plus Student 902 Points

It’s saying task 1 is no longer passing but the objective from task 1 hasn’t been changed

During this exercise it’s saying that Objective 1 is no longer working despite that fact that I never changed it.

index.py
var_one = "POOPet"

var_two = "PePtttet

2 Answers

Nicholas Grenwalt
Nicholas Grenwalt
46,626 Points

Yeah, it is just because you left out the ending double quote for the second variable. Sometimes the compiler's misread the errors. They know something is wrong they just can't communicate it properly. Take it easy on them. They are just trying to help. ;) Your code should work after that fix. Hope that helps. Keep up the coding!