Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics Unlocking The Power Of Data

Authors: Robin H. Lock, Patti Frazer Lock, Kari Lock Morgan, Eric F. Lock, Dennis F. Lock

1st Edition

0470601876, 978-0470601877

More Books

Students also viewed these Programming questions

Question

Solve the following 1,4 3 2TT 5x- 1+ (15 x) dx 5X

Answered: 1 week ago

Question

Derive Eq. (18.33) from Eq. (18.32).

Answered: 1 week ago