A store sells boxes of returned stock. The price of a box reduces…

Question Answered step-by-step A store sells boxes of returned stock. The price of a box reduces… A store sells boxes of returned stock. The price of a box reduces with the number of boxes purchased, as shown in the table below. The task is to formulate a function called cost(numBoxes) that accepts an integer that corresponds to the number of boxes to purchase. It returns the overall cost, for example the cost of purchasing 3 boxes is 3 × 980 = 2940. You should assume that the input is an integer >0.Image transcription textNumber of Boxes Price 1 box 1000 pounds 2 boxes 995 pounds each 3 boxes 980 pounds each 4 boxes 975pounds each 5 boxes and above 950 pounds each … Show more  Computer Science Engineering & Technology Python Programming COMP 10001 Share QuestionEmailCopy link Comments (0)