18/14. Dernière touche (Frensh Version) _Working


#1



def retourner_bit(nombre, n):
    resultat = 0b1 << n-1  #for example if n=3 result=100 (ps:n start from 0 it is why we subtract 1)
    resultat ^= nombre
    return bin(resultat)


#2

Could you clarify the question please? @jslearn16


#3

that is the answer friend