Combinations with repetitions/Square digit chain: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (Fix Perl 6 -> Raku calling conventions)
Line 398: Line 398:
(formerly Perl 6)
(formerly Perl 6)
{{trans|Kotlin}}
{{trans|Kotlin}}
<lang perl6>#!/usr/bin/env perl6
<lang perl6>use v6;

use v6;


sub endsWithOne($n --> Bool) {
sub endsWithOne($n --> Bool) {