Open huytran187 opened 1 year ago
Think if this is actually neccessary in Trip: you basically don't ever use driver.cost in a trip instance. You also have not declared it at Driver class, which is a very bad practice. More importantly, a cost is not specific to a driver. it is more or less specific to a trip.
https://github.com/t-rexdex/py-bootcamp/blob/5a37a11695980110cee8490e21dd5ab189cb9138/nile-project/test.py#L54