Anonymous user
Pythagorean triples: Difference between revisions
→{{header|Perl 6}}: simplify obtaining the number of pairs in a hash
(→{{header|Perl 6}}: add oyako algorithm) |
(→{{header|Perl 6}}: simplify obtaining the number of pairs in a hash) |
||
Line 426:
}
say "There are {+%trips
~" of which {[+] %trips.values} are primitive.";
|