def insertion_time(n):
    start_time = time.time()
    for i in range(1):
        a = np.random.rand(n)
        b = insertionSort(a)
    elapsed_time = (time.time() - start_time) / 1
    return {'desordenado': a, 'ordenado': b, 'tiempo': elapsed_time}

94ac326674e88e25363f7d7a646338be9326cecd
<mask token>

def insertion_time(n):
    start_time = time.time()
    for i in range(1):
        a = np.random.rand(n)
        b = insertionSort(a)
    elapsed_time = (time.time() - start_time) / 1
    return {'desordenado': a, 'ordenado': b, 'tiempo': elapsed_time}
