Write a python function

profilelkatie

 1.1 Oliver would like to know how much money he earns on products that cost less than 5 dollars per unit. 

Write a python function that can take as input a table of sales like the one above, and return the total amount he earned on products that cost less than 5 dollars per unit. 

Note : You don’t need to import a spreadsheet or csv at this stage, just write a function that can take as input any table that has the same model as the one above. 

  • 5 years ago
  • 25
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    Oliver.py