Question
This week's assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of
This week's assignment involves writing a Python program to compute the cost of house cleaning. Your program should prompt the user for the number of rooms in the house and the type of cleaning (eg. Floors, Windows, Bathrooms, Dusting, etc.). Your program must offer at least two types of cleaning and the price is different for each type. You should decide on the choices to offer and the different prices of each type of cleaning. The cost should be based on whether the house has a small number of rooms, a medium number or a large number and the type of cleaning. You should decide on the cutoffs for what constitutes a small, medium and large number of rooms. Your program should output the cost of the house cleaning based on the number of rooms and the type of cleaning.
Your program should include comments for the major steps of your code. You should already have these in your design/pseudocode. Also document the values you chose as the cutoffs for the three house sizes, the cost for each size and the prices for each cleaning type in your comments as well.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started