This website works better with JavaScript
Inicio
Explorar
Axuda
Rexistro
Iniciar sesión
adelq
/
project-euler
réplica de
https://github.com/adelq/project-euler.git
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Árbore:
79fdc7d029
Ramas
Etiquetas
master
python3
project-euler
/
1.py
1.py
103 B
Histórico
Raw
1
2
3
4
5
summation = 0
for i in range(1000):
if (i % 3 == 0) or (i % 5 == 0):
summation += i
print(summation)