מידע

יוצרים Alain Mbungu
מועד הגשה אין מועד הגשה
מגבלת הגשות אין הגבלה

כניסה

TP04_ExerciceSup1_Matrice_identité

Ecrivez la méthode matriceIdentite(n) (où n>0) qui retourne la matrice identité de taille n×n.

Pour rappel, la matrice identité est une matric avec des 1 sur sa diagonale principale et des 0 partout ailleurs.

Exemple : La matrice identité de taille 3x3 est : [[1,0,0], [0,1,0], [0,0,1]]


Écrivez ici la méthode