Best shuffle: Difference between revisions

m
m (Automated syntax highlighting fixup (second round - minor fixes))
Line 3,922:
{{trans|Sidef}}
 
<syntaxhighlight lang="raku" line">sub best-shuffle(Str $orig) {
my @s = $orig.comb;
my @t = @s.pick(*);
Line 3,948:
up, pu, (0)
a, a, (1)</pre>
 
=={{header|Rascal}}==
{{incomplete|Rascal|No output given.}}
10,327

edits