Welcome to the Treehouse Community
Looking to learn something new?
Everett Yates9,280 Points
Stuck on this problem
I keep getting an error and can't seem to figure out the issue, please help.
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)
Chris FreemanTreehouse Moderator 68,239 Points
So close! The colon (:) is missing from the end of the function definition.