Question: Write and test a PyDev module named . Copy your testing to testing.txt . A contractor is asked to provide an estimate for building a
Write and test a PyDev module named Copy your testing to testing.txt
A contractor is asked to provide an estimate for building a simple shed with a concrete foundation and brick walls.
A Simple Shed
Write and test a program that prompts the user for the size of the shed foundation, height of its walls, the cost of concrete per m and the cost of bricks per m and calculate and print the amount of concrete and bricks needed, and the total cost of the materials.
Sample execution:
Foundation length m:
Foundation width m:
Foundation height m:
Wall height m:
Cost of concrete $m:
Cost of bricks $m:
Concrete needed for foundation m:
Cost of concrete: $
Bricks needed for walls m:
Cost of bricks: $
Total cost: $
Run the program with three different sets of inputs. Print the results to decimal places with the comma as the thousands separator.
Partial testing:
Test tpy:
No file chosen
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
