Randomize a List
I need to randomize a list.
randomizeList = Function({List}, {Default Local},
//Code goes here
return List;
);
list = {1,2,3,4,5};
randomList = randomizeList(list);
print(randomList); //Expected output something like {2,4,5,1,3}
There are lots of ways to do this and no wrong answer. I appreciate any feedback, thanks!
msharp
james_sharp
Steven_Moore
sophiaw
saitcopuroglu