Jim is going to replant his lawn. He would like to know how muchthe sod will cost, given cost of the sod and the length and widthof two different lawn areas.
Assume one lawn size is 12 by 30 ft. and the second lawn is 22by 42 ft. Assume the sod costs $5/sq ft.
Write the Python function that takes fiveparameters (length1,width1,length2, width2, cost). This function must return the total cost of sodding the givenlawn areas.
Now,call your function as defined above and replace itsparameters with the actualarguments you will need. eg, the parameterlength1 would be replaced by the actualargument 12.
Expert
OR
PayPal Gateway not configured
OR
PayPal Gateway not configured
PayPal Gateway not configured
PayPal Gateway not configured