reference / random and noise
shuffle
A new list with the same items in a random order: shuffle colors.
seed 3print (shuffle [ 1 2 3 4 5 ])It prints
[ 4 5 2 3 1 ]
How to write it
shuffle list
Gives a list.
reference / random and noise
shuffleA new list with the same items in a random order: shuffle colors.
seed 3print (shuffle [ 1 2 3 4 5 ])It prints
[ 4 5 2 3 1 ]
shuffle list
Gives a list.