Question
PROGRAM IN PYTHON Mike, Tina, Jason, Vicky, and Tammy are preparing for anupcoming marathon. Each day of the week, they run a certain numberof miles
PROGRAM IN PYTHON
Mike, Tina, Jason, Vicky, and Tammy are preparing for anupcoming marathon. Each day of the week, they run a certain numberof miles and write them into a notebook. At the end of the week,they would like to know the number of miles run each day, the totalmiles for the week, and average miles run each day, Write a programto help them analyze their data. Your program must contain parallellists: a list to store the the names of the runners and atwo-dimensional list of five rows and seven columns to store thenumber of miles run by each runner each day.
Sample Output
Name Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day7 Average
=============================================
Mike 10.00 15.00 20.00 25.00 18.00 20.00 26.00 19.14
Tina 15.00 18.00 29.00 16.00 26.00 20.00 23.00 21.00
Jason 20.00 26.00 18.00 29.00 10.00 12.00 20.00 19.29
Vicky 17.00 20.00 15.00 26.00 18.00 25.00 12.00 19.00
Tammy 16.00 8.00 28.00 20.00 11.00 25.00 21.00 18.43
Step by Step Solution
3.44 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
Heres a Python program that generates the desired output Define the lists for names and miles names ...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