Question: solve in python please Salma wants to participate in Dubai's upcoming Marathon that will begin on February, 2023. In her preparation for the event, in
Salma wants to participate in Dubai's upcoming Marathon that will begin on February, 2023. In her preparation for the event, in each day of the week she run certain miles and write them in a notebook. Write a Python program to help her record and analyze her data. Your program should do the following: 1. Ask the user to insert the number of miles run by Salam in each day (Moyday to Sunday). 2. Find the total number of miles in the week. 3. Find the average number of miles. 4. Find the maximum number of miles. 5. Print on the screen the total number of miles, average, and the maximum number of miles. 6. Validate your input. The program should not accept negative numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
