Week runners log Coding in Python and mainly using loops;create a program base on the following; Five runners are preparing for an upcoming marathon. Each day of the week, they run a certain number of 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 total miles for the week, and the average miles run each day, Write a program to help them analyze their data. Your program should create a two-dimensional list of five rows and seven columns to store the number of miles run by each runner each day. User should be able to input the names and miles for seven days(1 week). The final result should look something like this. Result Sample Output Name Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 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
Week runners log
Coding in Python and mainly using loops;create a program base on the following;
Five runners are preparing for an upcoming marathon. Each day of the week, they run a certain number of 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 total miles for the week, and the average miles run each day, Write a program to help them analyze their data. Your program should create a two-dimensional list of five rows and seven columns to store the number of miles run by each runner each day.
User should be able to input the names and miles for seven days(1 week).
The final result should look something like this.
Result Sample Output
Name Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 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
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images