chiffre= random.randint(2, 10) y2 = str(input("Donne moi l'équation de la fonction linéaire de coefficient directeur {} \nf(x)=".format(chiffre))) if y2 != ("{}x".format(chiffre)) : elif y2 == ("{}x".format(chiffre)) :