Get Solutions for: Write a function called tabulate_execution_cost that accepts an integer value rows and generates ata

Write a function called that accepts an integer value and generates atable showing how the number of statements executed in increases as thefunction is called with lists of various sizes.
You may define er functions to perform some of the subtasksif you wish.
The table is formatted as follows:
To test your function, before you submit it to CodeRunner forgrading, you might like to create a small file called”random_numbers.txt” which you can use to generate the lists thatare then passed to the max_duplicates_in_list() function. This fileonly needs to contain enough values to generate the first few rowsof the table so that you can compare your output to what isexpected. If the “random_numbers.txt” file contains all uniquenumbers, then for the following values of n: 1, 2, 4 – the expectedoutput will be 13, 26, 64.
for example:
def read_random_numbers(filename=’random_numbers.txt’): “””Reads a file of random numbers and returns it as a list””” with open(filename) as file: raw_data = file.read().split() return [int(i) for i in raw_data]
that is all the question showed, nothing more
Attached