Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed comments from sol3.py that were accidentally added to sol4.py
  • Loading branch information
melonbreadjin committed May 1, 2019
commit 298c0e3685223d2f274b144ab02c8dadd4a00b6a
9 changes: 0 additions & 9 deletions project_euler/problem_02/sol4.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
'''
Problem:
Each new term in the Fibonacci sequence is generated by adding the previous two terms.
0,1,1,2,3,5,8,13,21,34,55,89,..
Every third term from 0 is even So using this I have written a simple code
By considering the terms in the Fibonacci sequence whose values do not exceed n, find the sum of the even-valued terms.
e.g. for n=10, we have {2,8}, sum is 10.
'''
"""Python 3"""
import math
from decimal import *

Expand Down