# Mystère 3

def max2(n1 : float|int, n2 : float|int) -> float:
    """
    Retourne le plus grand nombre entre n1 et n2
    >>> max2(0, 1)
    1
    >>> max2(-1, -2)
    -1
    """
    assert type(n1) == float or type(n1) == int, "n1 doit être un nombre"
    assert type(n2) == float or type(n2) == int, "n2 doit être un nombre"
    
    if n1 >= n2:
        return n1
    else:
        return n2
        
assert max2(0, 1) == 1  
assert max2(-1, -2) == -1
