Question: PYTHON E10. Define a list variable called costs and store the costs of 7 items in it. Use floating-point values (numbers with a decimal point).

PYTHON

PYTHON E10. Define a list variable called costs and store the costs

E10. Define a list variable called costs and store the costs of 7 items in it. Use floating-point values (numbers with a decimal point). [] E11. Use len to display the length of costs. [] E12. Use min to display the minimum value in costs. E13. Use max to display the maximum value in costs. D] E14. Use sum to display the sum of the values in costs. U E15. Use sum and len to compute and display the average of the values in costs. U]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!