Determine the total number of rocks collected the average


Python Code:

You are on vacation for the next week in Michigan's pristine Upper Peninsula. The Agate, which is typically found along the shores of Lake Superior, is a prized find. Therefore, you have set out to collect as many of these rocks as you can.

Create a program that will store the number of Agates you have collected over your 7 day stay in the UP. Below is a list of rocks collected:

Day 1 = 10

Day 2 = 8

Day 3 = 5

Day 4 = 16

Day 5 = 3

Day 6 = 7

Day 7 = 11

Your program needs to pre load this list, print out the list, determine the total number of rocks collected, the average number of rocks collected and the highest number of rocks collected.

Your output should look something like the following:

My List of Agates ***************** Day 1 : 10 Day 2 : 8 Day 3 : 5 Day 4 : 16 Day 5 : 3 Day 6 : 7 Day 7 : 11 Total Number of Rocks: 60 Average Number of Rocks: 8.57 The highest number of rocks collected: 16.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Determine the total number of rocks collected the average
Reference No:- TGS02906218

Expected delivery within 24 Hours