This week's assignment involves rewriting the Python program you wrote for your assignment last week to use a function. All the requirements from last week still apply. The function should accept the...

Please refer to my last week assignment order# 113935, as this week assignment is related to last week assignment. Thank you file is attached.


This week's assignment involves rewriting the Python program you wrote for your assignment last week to use a function. All the requirements from last week still apply. The function should accept the number of rooms, and the type of cleaning as parameters and should return the cost of the house cleaning. The main program should prompt the user for the number of rooms in the house and whether the cleaning should be a light cleaning or a more complete one, it should call the function that computes the cost and should output the value the function returns. If your program from last week contained any bugs, you should correct them in this submission. Your program should include Header comments (what the program does) and in-line comments (the major design steps).  Document the values you chose as the cutoffs for the three house sizes, the cost for each size and the surcharge for a more complete cleaning in your comments as well. Submit your Python program as a text file ( .py) file.  In addition, submit a Design outline and a Test plan/report (at least 3 different test cases) in a Word document or a .pdf file and include a screen shot of execution of your program for each test case.  Your submission must also adhere to the Submission Requirements document. (i.e. Filename and display your name, class, date in the output). Design - Outline proper sequence of steps, calculations (if necessary). Identify values of any known constants, thresholds, test conditions, loops. Identify what the user inputs will be and what the output will be. Test Plan/Report - submitted with at least three test cases. Includes a screen shot for each test case.  Includes test cases for invalid inputs. Python code runs correctly on all test cases. Satisfies all requirements, compiles effectiveness and neatness, descriptive variables def main.  Included all of the following: Header comments. Documentation for the values you chose as the known constants In-line comments of major steps (from design outline)
Nov 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here