samedi 10 avril 2021

Making n unique l long 0-1 series in Python

I would like to make n random l long 0-1 series, so that all of them are different. I tried to make them with while loop, but it is quite inefficent. I am wondering if there is a better way to do it. (I wrote a separate function which gives back 1 l long 0-1 series and I used it in my other function.)




Aucun commentaire:

Enregistrer un commentaire