i whant generate a random permutation of elements of a list, Example:
listString = ["a"; "b"; "c"; "d"; "e"; "f"]
i whant something like:
result = ["a"; "e"; "f"; "b"; "d"; "c"]
but that result change in each call of the function.
Aucun commentaire:
Enregistrer un commentaire