James L.

asked • 03/11/20

Python, write a program to convert speed to feet per second and miles per hour?

The results of a race gives the winner's time in minutes and seconds, such as 1 minute 12 seconds. You are to write a program to convert the winner's speed to feet per second and miles per hour.


The task is to prompt the user for input in miles, time in minutes, and time in seconds. And do know that distance = rate * time.

So how exactly do I input all these in python, and allow any input to get the resulting feet/second and miles/hour?


Like for example

miles = int(input(Input distance in miles: "))

time = int(input(Input time in minutes and seconds: "))

After the above I'm confused.

The program must first display original input,

then display the speed in feet per second, and the speed in miles per hour


Thanks ahead


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.