Rhonda numbers: Difference between revisions

m
m (typo)
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)>>».fmt("%{$ch}s").join: ', ';
}</lang>
{{out}}
10,327

edits