Magic squares/Raku: Difference between revisions
m
syntax highlighting
Thundergnat (talk | contribs) m (Thundergnat moved page Magic squares/Perl 6 to Magic squares/Raku: Name of the language has changed) |
Thundergnat (talk | contribs) m (syntax highlighting) |
||
(One intermediate revision by the same user not shown) | |||
Line 6:
See:<ul>
<li>[[Magic_squares_of_odd_order#
<li>[[Magic_squares_of_singly_even_order#
<li>[[Magic_squares_of_doubly_even_order#
</ul>
<syntaxhighlight lang="raku"
my @sq;
Line 70:
(@sq[$q;$q], @sq[$q+$h;$q]) = (@sq[$q+$h;$q], @sq[$q;$q]);
}
}</
|