Sattolo cycle: Difference between revisions
m
→{{header|EasyLang}}
(One intermediate revision by one other user not shown) | |||
Line 959:
=={{header|EasyLang}}==
<syntaxhighlight
proc sattolo_cycle . a[] .
for i = len a[] downto 2
r =
swap a[r] a[i]
.
Line 2,436:
=={{header|Wren}}==
<syntaxhighlight lang="
var rand = Random.new()
Line 2,460:
{{out}}
Sample run:
<pre>
Original: []
|