I'd like to know what is the best way to create a list with random integer numbers, without repetition, and defining: how many even/odd, how many primer and how many multiple of 3 the list can have.
Exemple: I want a list with 20 numbers, between 1 to 100, with 5 odds and 5 primers and 4 multiple of 3.
Thank you for the help.
Aucun commentaire:
Enregistrer un commentaire