Python Program (Without Using List)
Write a program that asks the user to input the lap times for laps they've run around a track and stop inputting with -1. All lap times should be positive. Display the slowest, fastest, and average time for the user.
Please input the lap time for Lap 1 (-1 to stop) > 21
Please input the lap time for Lap 2 (-1 to stop) > 5
Please input the lap time for Lap 3 (-1 to stop) > 24
Please input the lap time for Lap 4 (-1 to stop) > 18
Please input the lap time for Lap 5 (-1 to stop) > 16
Please input the lap time for Lap 6 (-1 to stop) > 27
Please input the lap time for Lap 7 (-1 to stop) > 5
The time for your fastest lap is: 16
The time for your slowest lap is: 27
The average time for your laps is: 17.857142857142858