def resultat(s):
    """the s argument is a string in the form 'name : result',
    where the result is a float or an int representing a note between 0 and 20 or the text 'DEFAILLANT' that can be capitalized arbitrarily.
    return the results. Returns False if the result is not a number."""
    result = s.split(":")
    if (
        result[1].strip().upper() == "DEFAILLANT"
        or result[1].strip().upper() == "DÉFAILLANT"
    ):
        return False
    else:
        return float(result[1].strip())