How to measure the time of this code with timeit?(all functions have been defined)
for i in range (1,10):
bh = BinHeap()
facc=[random.randrange(1,101,1) for _ in range (10+i)]
bh.buildHeap(facc)
print(bh.heapList)
i=i+1