Zeros code below can used example for creating dictionary dict range idicts dict for range
-Measure the execution time for get and set for various size dictionaries of n entries. (Have the program create a table of executions times for each size output. Each line will have the size, set time, and get time with tabs (\t) between the numbers.)
-Run the program with different sizes to show that the times are constant with respect to the size.
times = 750
lists = [ list(l) for i in range(times)]
x.insert(n//2,"x")
x.insert(0,"x")
t = timeInsert(n)
print( "%d\t%f" % (n,t))
The code below can be used as an example for creating a dictionary.
d = dict()