Python Object-Oriented Python Instant Objects Master Class

Aiden Li
Aiden Li
2,779 Points

i don't understand

I thought I had done everything the challenge asked... what did I miss?
def 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)

1 Answer

You have 4 errors in your code, try to fix it by reading your code carefully, if you can't figure it out post back here.

errors as follows: Indentation error

class creation error

wrong format for class name