Instead of trying to solve a problem, I was walking myself through an
already given solution to the problem. However, this is by no means
easy as you need to be able to figure out how the different functions
are connected. Also, the solution used isn't necessarily how I would
do it so I cannot make any assumptions.
I would use docstrings if I planned for someone else to use and try to
understand my code or if it was a complicated project. If not, I would
probably stick to a few comments here and there.
You could model vehicles in the world using classes. Car, truck,
motorcycle, boat, plane, helicopter etc. could be classes.
2024 toyota prius, 2022 ford bronco, and 2023 Cadillac Escalade
would all be instances of of the car class.