Codebreaker 2bc08752a0894eb2c7afb345286e391d

7Mar/100

Project Euler Problem #20

Problem #20 is to find the sum of the digits in the number 100!

This can be easily solved with Python as the math package comes with factorial function.

from math import factorial
reduce(lambda x, y: int(x)+int(y), str(factorial(100)))