dimanche 19 janvier 2020

How to randomly and not repeatedly select elements from an array?

As the title describe, I wanna select maybe 2 or 3 elements from an array, and they are not repeating.

I know I can do this job with Bases.rand function and if statement together,

but I'm still seeking some more elegant way to do this.




Aucun commentaire:

Enregistrer un commentaire