first = 0
second = 1
for i in range(1,4000000):
next=(first+second)
print(next)
first=second
second=next
solved Finding the sum of even valued terms in fibonacci sequence using for loop
first = 0
second = 1
for i in range(1,4000000):
next=(first+second)
print(next)
first=second
second=next
solved Finding the sum of even valued terms in fibonacci sequence using for loop