Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The distance of a marathon is 42.2 km. A runner paces himself such that (i) his averagespeed for the first 12 km is 15 km/hr,
The distance of a marathon is 42.2 km. A runner paces himself such that (i) his averagespeed for the first 12 km is 15 km/hr, (ii) he reduces the exertion for the next 15 km withan average speed of 10 km/hr (iii) he increases the speed to 14 km/hr for the next 10 kmand (iv) for the remaining distance, he makes a dash for it by averaging 18 km/hr. Write a python program to calculate and print the time he took to complete the marathon.
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