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 Object-Oriented Python Instant Objects Master Class

Can Not Get Past the First Task - No Idea Why

I have done everything that challenge asks for and I have looked and looked for typos - but I can not figure out why this code is not passing.

I even tried restarting my browser in case I was getting a false fail on this challenge.

I could use some help to see if I am missing something.

racecar.py
class RaceCar:
    def __init__(self, color, fuel_remaining, **kwargs):
        self.color = color
        self.fuel_remaining = fuel_remaining

        for key, value in kwargs.items():
            setattr(self, key, value)
Steven Parker
Steven Parker
231,236 Points

How odd. I use Chrome and have never had a problem with the challenges or workspaces.

1 Answer

I started another browser, Firefox instead of Chrome, went to the code challenge and typed in the exact same code and it passed. I wasted more than a half hour going over it and over it. That was a pain. But I won't make that mistake again.