Question: in python in python please Q-1 (5 Marks): If you run a race with 10 kilometer in 43 minutes 30 seconds, Write a program that
Q-1 (5 Marks): If you run a race with 10 kilometer in 43 minutes 30 seconds, Write a program that satisfies the following requirements. a) Store all given inputs in variables (distance, and time). b) Calculate the average speed in kilometer per minutes, print the output. c) Calculate the time in seconds. d) Calculate the average speed in kilometer per seconds, print the output. e) Write a function converts from kilometer to miles. (Hint: there are 1.61 kilometers in a mile). f) Calculate the average speed in miles per hour? print the output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
