This commit is contained in:
t3xhno 2024-02-06 14:45:50 +01:00
parent f5b311e846
commit f7973c0719

View File

@ -6,8 +6,7 @@ sum = 0
for i in range(1, 1000000):
curr = fib(i)
if curr > 4000000:
break
if curr > 4000000: break
if isDivBy(curr, 2): sum += curr
print(sum)