Question
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
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started