Question: Write a python function that accepts a sequence named data as an argument, creates a new sequence named current_time and iterates through each element of

Write a python function that accepts a sequence named data as an argument, creates a new sequence named current_time and iterates through each element of data every 1 second, after every iteration the current time is stored in the sequence current_time. Once the iteration is over, calculate the elapsed time. Finally return a 2D array were the first row contains the elapsed time and the second row contains the elements of the input set data. Note: Elapsed time is defined as tx to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
