75.2k views
3 votes
Write a class named Car that has the following data attributes: • _ _year_model (for the car’s year model) • _ _make (for the make of the car) • _ _speed (for the car’s current speed) The Car class should have an _ _init_ _ method that accepts that car’s year model and make as arguments. These values should be assigned to the object’s _ _year_model and _ _make data attributes. It should also assign 0 to

User LGVentura
by
5.4k points

1 Answer

4 votes

Answer:

b

Step-by-step explanation:

User Lennard
by
5.6k points