Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON QUESTION Write a program that asks the user for the minutes, seconds, miles run, and miles to target from an exercise event and outputs

PYTHON QUESTION

Write a program that asks the user for the minutes, seconds, miles run, and miles to target from an exercise event and outputs both the average pace and the average speed and time.

For example, if I run 6.3 miles in 53 minutes and 30 seconds, my average pace is 8 minutes and 29 seconds per mile, my average speed is 7.07 miles per hour and my projected time for 2.7 miles is 22 minutes and 55 seconds.

Sample Output Text:

Minutes ==> 53 53 Seconds ==> 30 30 Miles ==> 6.3 6.3 Target Miles ==> 2.7 2.7

Pace is 8 minutes and 29 seconds per mile. Speed is 7.07 miles per hour. Time to run the target distance of 2.70 miles is 22 minutes and 55 seconds.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions