Post History
Raku, 32 bytes {map +*,($_,*[0]...^9 ge*.gist)} Try it online! It's difficult to tell the difference between one element arrays and just plain numbers, since Raku translates between the two....
Answer
#1: Initial revision
# [Raku], 32 bytes <!-- language-all: lang-perl6 --> {map +*,($_,*[0]...^9 ge*.gist)} [Try it online!][TIO-ki35vvlw] [Raku]: https://github.com/nxadm/rakudo-pkg [TIO-ki35vvlw]: https://tio.run/##K0gtyjH7n1upoJamYPu/OjexQEFbS0dDJV5HK9ogVk9PL85SIT1VSy89s7hEs/Z/cWKlQppCrn5MsLa@nmuYo49CWn6RQk5mXmrx/@hYhUdtkxSA2riAGMI2BLKjY3VgPB0DCD86FipiBBEx0TEBChroGCPEjUDi0SBhs1gkA4x0wEZGR5uDNIBkEHIQWQA "Perl 6 – Try It Online" It's difficult to tell the difference between one element arrays and just plain numbers, since Raku translates between the two. However, `gist` returns the list formatted with brackets surrounding it, so we are able to use that to our advantage using string comparison.