Question: Python 3.6 In all cases, the key idea is to write a single function. However, in all cases, you should create a program that will
Python 3.6
In all cases, the key idea is to write a single function. However, in all cases, you should create a program that will essentially test the function. For example, you might include several function calls and the results, or create a program where a user can enter values and see the results. You may feel free to make multiple functions within any one of these programs.
Write a function that takes in two parallel lists: a list of times (in increasing order), and a list of distance traveled by that point in time. The function should return a new list giving the average velocity between consecutive time measurements. The new list should have length one less than the original lists.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
