Question: Write function called percentage Under TenPounds which takes as the input a list of prices, and returns the percentage of prices which are under

Write function called percentage Under TenPounds which takes as the input a list of prices, and returns the percentage of prices which are under 10 pounds. Arguments: A list of floats (containing the prices) Return value: A single float (containing the percentage of prices which are under 10) *For example: List: [5.99, 15.49, 25.00, 10.25, 15.50, 19.99] would return 16.666 (1 out of 6 prices) List: [2.50, 75.99, 39.50, 7.99] would return 50.0 (2 out of 4 prices) .
Step by Step Solution
There are 3 Steps involved in it
Code def percentageunder10poundsprices This function takes a list of prices and returns the per... View full answer
Get step-by-step solutions from verified subject matter experts
