Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Heeeeelp please?? CptS 111-PA #3 Due Saturday, Feb. 10, 2018 A RUNNING TIME CALCULATOR For this assignment, you must write a single program with four
Heeeeelp please??
CptS 111-PA #3 Due Saturday, Feb. 10, 2018 A RUNNING TIME CALCULATOR For this assignment, you must write a single program with four functions. You must include a docstring in each function, use comments, and make your program readable by using whites- pace effectively. You will be graded on all these aspects, not just on whether your program runs correctly. You will need to submit your program to Blackboard as a zipped file so if you don't know how to zip a file, ask your TA during your lab or else google how to do it for your operating system. Header information. Your program must include the following information in the header. . Name Cpts 111, Spring 2018 g Assignment #3 . Date Name of program Brief description and/or purpose of the program; include sources . Program Requirements Your program, call it run.calc.py, must prompt the user for a running pace (time/mile) in standard format (mm: ss) and distance in miles. It must display the time needed to run the distance at the given pace in standard format (hh:mm: ss). The time values should be integers. The following examples demonstrate the output of this program Enter pace [mm:SsJ: 8:15 Enter distance [miles]: 26.2 Time needed to run 26.2 miles at a(n) 8:15 pace: 3:36:09 Enter pace m:ss]: 6:09 Enter distance [miles): 6.2 . Time needed to run 6.2 miles at a(n) 6:09 pace: 0:38:07 The four functions you need to include are: . get-input ): Prompts for the pace and distance and returns 3 values: the pace in standardStep 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