#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 26 11:10:14 2024

@author: phjo
"""

from random import randrange

def listeAleatoire(n):
    L = []
    for i in range(n):
        L.append(randrange(10000))
    return L

def triInsertion(L):
    """trie avec le tri par insertion dans l'ordre croissant la liste L 
    (qui sera modifiée) On renvoie alors la liste ainsi obtenue..."""
    #votre code ici :
    
    return L

def fusion(L1, L2):
    L = []
    n, m = len(L1), len(L2)
    i, j = 0, 0
    for _ in range(n+m):
        # votre code ici
        pass
        
    return L

