Factorial digit sum
AUTHOR
L. Grondin
https://projecteuler.net/problem=20
n! means n Ć (n ā 1) Ć ... Ć 3 Ć 2 Ć 1
For example, 10! = 10 Ć 9 Ć ... Ć 3 Ć 2 Ć 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.
Find the sum of the digits in the number 100!
use v6;
say [+] .comb given [*] 2..100;
# vim: expandtab shiftwidth=4 ft=perl6