jeudi 27 février 2020

Random triplet number generator

I would like to create code for a random number generator for predetermined sets of triplets (200 sets in total to randomize). I would like the sets of triplets to form a set of six numbers and the set of triplets to remain unique.

example triplets A = [1 2 3; 4 5 6; 7 8 9, 10 11 12, 13 14 15]; etc

I would like resulting triplet to retain their original sequence

1 2 3 + 4 5 6, 1 2 3 + 7 8 9, 1 2 3 + 10 11 12, 1 2 3 + 13 14 15

I am not a coder, so any help would be appreciated




Aucun commentaire:

Enregistrer un commentaire