Project Euler Problem 1 - Python #python #shorts

preview_player
Показать описание
Today, we'll solve the Project Eular Problem 1 with using Python.

Don't forget to subscribe and below your comment :)

-----------------------------------------------------------------------
✔ Source code :

sum = 0

for i in range(1,1000):
if (i % 3 == 0 )or(i % 5 == 0):
sum += i

print(f"Answer is : {sum}")
------------------------------------------------------------------------
Рекомендации по теме
join shbcf.ru