Light Mode
Dark Mode
What is the problem?

Hello . My solution fails the eighth test. Arithmetically, the calculation is correct; the attributes change values ​​for an individual instance of the class. A message is displayed. What is the problem? This is what is displayed in the check:

(testcar := Car()).startengine() testcar.drive(21) testcar.drive(10) Your result: "Engine has started\nCurrently driven 21 km, total fuel used - 147 l\nCurrently driven 10 km, total fuel used - 70 l\n"

Created: May 9, 2024, 9:43 a.m.
Updated: July 17, 2024, 9:17 a.m.
2
30
User avatar
jullios1104