Rhonda numbers: Difference between revisions
m
→{{header|Raku}}: style tweak
Thundergnat (talk | contribs) m (typo) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: style tweak) |
||
Line 62:
my $ch = @rhonda[*-1].chars max @rhonda[*-1].base($b).chars;
put "In base 10: " ~ @rhonda».fmt("%{$ch}s").join: ', ';
put $b.fmt("In base %2d: ") ~ @rhonda».base($b)
}</lang>
{{out}}
|