Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Why does it keep saying Task 1 is no longer passing when I try to do task 2. I haven't changed anything
I keep getting the same error even though it said task 1 was done correctly
file_object= open ("basics.txt") data=read (file_object)
Steven Parker217,602 Points
The "task 1" message might be a bit misleading.
The challenge always re-checks task 1, so if you have introduced a syntax error anywhere in the code, it will think there's trouble with task 1.
Your main issue is in using the read method. This method should be applied to the file object, but instead you called it like a function and passed the object to it as an argument.