Jump to content

Knuth shuffle: Difference between revisions

m
imported>Arakov
Line 1,747:
 
=={{header|EasyLang}}==
<syntaxhighlight lang="text">
proc shuffle . a[] .
for i = len a[] downto 2
r = randomrandint i
swap a[r] a[i]
.
2,056

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.