"""
Problem 20: https://projecteuler.net/problem=20
Factorial digit sum
"""

from math import factorial as f
n = int(input("Enter the factorial(without !)"))
print ("Sum of digits for %d! is %d" % (n, sum(map(int, str(f(n))))))

bcf93efabf8d8fdd916af8ef58b3bb865f0d5089
<mask token>

<mask token>
print('Sum of digits for %d! is %d' % (n, sum(map(int, str(f(n))))))

<mask token>
n = int(input('Enter the factorial(without !)'))
print('Sum of digits for %d! is %d' % (n, sum(map(int, str(f(n))))))

<mask token>
from math import factorial as f
n = int(input('Enter the factorial(without !)'))
print('Sum of digits for %d! is %d' % (n, sum(map(int, str(f(n))))))

"""
Problem 20: https://projecteuler.net/problem=20
Factorial digit sum
"""

from math import factorial as f
n = int(input("Enter the factorial(without !)"))
print ("Sum of digits for %d! is %d" % (n, sum(map(int, str(f(n))))))
