I have a 6 by 6 matrix created using python. From the 36 values included in the matrix, i want to select any 10 values (it should select the values randomly, not by specifying the position) from the matrix which are non-zero and the selected 10 values should be printed at the end. Please help me with the code in python
Aucun commentaire:
Enregistrer un commentaire