Car Rental will rent cars to their customer. They have the potential to rent either petrol, diesel, electric, or hybrid cars.
They have initially 40 cars in their rental pool made up of 50% petrol, 20% diesel, 10% electric and 20% hybrid.
When a car is not rented it is available to the customer to rent.
Once a car is rented the car is assigned to the customer, and removed from the rental pool.
When the car is returned by the customer it is assigned back into the rental pool.
If all 40 cars are rented out the rental function should return a message to the customer saying "Sorry nothing to rent, please try again"
All classes developed should be documented and accompanied by an associated test suite for the classes written. carDealership.py, carDealership_app.py and test_carDealership.py
Fitzwilliam_1
0
Newbie Poster
Recommended Answers
Jump to PostWe will be happy to help you if you show us what you have done so far and explain what you are having trouble with.
Jump to PostHere, such an app would not be complete without checking off or selling insurance too. There may be local taxes, fees too so it's going to be much more work than you listed to really have a finished rental portal. I mean, you wouldn't do this in a classic app …
All 5 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rproffitt
2,572
"Nothing to see here."
Moderator
Fitzwilliam_1
0
Newbie Poster
Fitzwilliam_1
0
Newbie Poster
Fitzwilliam_1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.