Question
5. For the following problem submit a photo of the flowchart and shots of your Python screens showing the program code and the output. Your
5. For the following problem submit a photo of the flowchart and shots of your Python screens showing the program code and the output. Your task is to input from the race coordinator the finish times of each of the racers and to output the lowest finish time. After processing each input, ask the coordinator if she has another race. You need to check each finish time to make sure it is valid. If it is not valid (greater than 0), prompt for a valid finish time. When you run the program, test the logic when you enter an invalid finish time, when you enter a valid finish time, and when you are done processing the racers.
6. For this problem, submit shots of your flowchart, Python screens showing the program code and the output. There are 10 students in the club. Ask each student to enter the distance in miles from home to the club. Only accept non-negative integers. Find the average miles traveled round trip. Print a message that includes the average round trip miles. Check the logic of your code by seeing what happens when you enter an invalid number of miles and when you enter a valid number of miles
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