jeudi 21 octobre 2021

python quasi random number from 0 to N

Instead of just random numbers, I would like to get quasi random numbers. The purpose of this is I have 1D python list and I want to shuffle the list with quasi random numbers. Let's say if I have myList as list type then, I like to shuffle this list by generating quasi random numbers from 0 to len(myList). Is there any library or approach to achieve this goal?




Aucun commentaire:

Enregistrer un commentaire