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!
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
Zach Rebstock4,632 Points
Bug on indexes challenge
So, when I add the code for task #1, it passes and moves me to task #2; however, when trying to complete task #2, I get an error saying "Oops! It looks like Task 1 no longer works"
I ran my code in the Python REPL and got exactly what the challenge is asking for, so I am not sure what I'm doing wrong.
var_one = ["a", "b", "c", "d", "e", "t"]
var_two = ["e", "f"]
var_one = ["a", "b", "c", "d", "e", "t"] var_two ["e", "f"]
Steven Parker225,769 Points
Any syntax error invalidates the entire code and causes the re-checks to fail.
In this case, the issue is a missing assignment operator ("=") on the second line.