Lol
This commit is contained in:
parent
f5b311e846
commit
f7973c0719
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user