Question: Once you have completed your practice final project ( if you elected to do so ) , test your understanding of all the topics in
Once you have completed your practice final project if you elected to do so test your understanding of all the topics in this course by completing and submitting the Python final project provided.
The Week final project involves creating a Python program that builds on the assignments for Weeks and In addition to the house cleaning service from the previous assignments, the company will now offer yard service. Yard service involves mowing, edging, and shrub pruning. The cost of the mowing depends upon the square footage of the yard, the cost of edging depends upon the linear footage of the yard's edges, and the cost of shrub pruning depends upon the number of shrubs.
Your program should begin by asking the customer whether they are requesting house cleaning or yard service. If the user inputs an invalid choice, the user should be reprompted until a valid choice is entered. Depending upon the choice, the program should then prompt the user for the information needed to determine the cost of the service.
Seniors receive a discount on both services. You decide the discount amount, which can be either a percentage or a fixed dollar amount. You also decide how to prompt the user, either by requesting the customer's age or asking whether the customer is a senior.
The output of your program should be the cost of the requested service.
You may use your code from Weeks and as a starting platform or start a new program. At a minimum, your program should have one function to calculate the house cleaning cost, another to calculate the yard service cost, and a third to determine the discount.
Your program should include comments for the major steps of your code. You should already have these in your design. Also document the values you chose as the cost of house cleaning, which include the cutoffs for the three house sizes, the cost for each size, and the surcharge for a more complete cleaning. In addition, document the cost of square foot for mowing, the cost per linear foot for edging, and the cost per shrub for pruning. Finally you should document any constants involved in determining the senior discount.
Your program should include Header comments what the program does and inline comments the major design steps
Submit your Python program as a text file py file. In addition, submit a Design outline and a Test planreport different test casesbut the invalid inputs must be tested. in a Word document or a PDF file and include a screenshot of execution of your program for each test case.
Your submission must also adhere to the Submission Requirements document ie Filename and display your name, class, date in the output
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
