Array.shuffle()

From ZCubes Wiki
Revision as of 04:04, 14 May 2020 by Devika (talk | contribs) (→‎Array.shuffle())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Array.shuffle()

shuffle the array randomly.

MAGICSQUARE(3)

2 7 6
9 5 1
4 3 8

MAGICSQUARE(3).shuffle()

9 5 1
4 3 8
2 7 6

See Also

random

deal