I can use this to find all of the possible options, however, I want a random sample of 1000 from this set:
items = range(1,11) from itertools import permutations for p in permutations(items): print(p)
Aucun commentaire:
Enregistrer un commentaire