This website works better with JavaScript
Página inicial
Explorar
Ajuda
Registrar
Entrar
adelq
/
project-euler
mirror de
https://github.com/adelq/project-euler.git
Observar
1
Favorito
0
Fork
0
Arquivos
Issues
0
Tree:
3ec0a1f12f
Branches
Tags
master
python3
project-euler
/
20.py
20.py
103 B
Histórico
Raw
1
2
3
4
5
6
7
8
9
from math import factorial
num = str(factorial(100))
sum = 0
for i in num:
sum += int(i)
print(sum)