Question
Jim is going to replant his lawn. He would like to know how much the sod will cost, given cost of the sod and the
Jim is going to replant his lawn. He would like to know how much the sod will cost, given cost of the sod and the length and width of two different lawn areas. Write a solution to calculate this cost.
assume one lawn size is 12 by 30 ft. and the second lawn is 22 by 42 ft. Assume the sod costs $5/sq ft.
Write the Python function that takes five parameters (length1,width1,length2, width2, cost) . This function must return the total cost of sodding the given lawn areas. Now,call your function as defined above and replace its parameters with the actual arguments you will need. eg, the parameter length1 would be replaced by the actual argument 12. Be very sure you know the difference between parameters and arguments. to calculate the cost to to sod these lawns. Cut and paste your Python code input/output into your word doc and submit that
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