Jump to content

Flipping bits game: Difference between revisions

m
→‎{{header|Perl 6}}: numeric sorting of rows
m (→‎{{header|REXX}}: simplified the program, added identifiers of the user inputs.)
m (→‎{{header|Perl 6}}: numeric sorting of rows)
Line 2,255:
$string ~= sprintf "%2s ", $_ for sort keys %hash{'1'};
$string ~= "\n";
for %hash.keys.sort: keys %hash+* -> $key {
$string ~= sprintf "%2s ", $key;
$string ~= sprintf "%2s ", %hash{$key}{$_} for sort keys %hash{$key};
2,392

edits

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