I have to create a generator function which generates a random binary matrix with p% grids 1 and the rest 0. PROBLEM is I am not allowed to use libraries like numpy, pandas. Only standard libraries like random can be used. Any help would be highly appreciated
Aucun commentaire:
Enregistrer un commentaire