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): for i in range(1, 1000000):
curr = fib(i) curr = fib(i)
if curr > 4000000: if curr > 4000000: break
break
if isDivBy(curr, 2): sum += curr if isDivBy(curr, 2): sum += curr
print(sum) print(sum)