Since I spent some time thinking what is wrong it is probably worth noticing. In my logic, two subsequent commands testcar.drive(21), testcar.drive(10) should result in: 1) total distance of 31 km; 2) fuel_consumption as a sum of both rides and 3) appropriate print message. However, the task is accepted only when the print message displays information per ride.
Created at: 2023/07/02 13:23; Updated at: 2023/12/13 12:03