mirror of
https://bitbucket.org/Mattrixwv/projecteulerpython.git
synced 2025-12-06 17:43:58 -05:00
Removed unneccessary imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ProjectEuler/Python/Problem2.py
|
||||
#Matthew Ellison
|
||||
# Created: 01-26-19
|
||||
#Modified: 07-17-20
|
||||
#Modified: 10-29-20
|
||||
#The sum of the even Fibonacci numbers less than 4,000,000
|
||||
#Unless otherwise listed, all of my non-standard imports can be gotten from my pyClasses repository at https://bitbucket.org/Mattrixwv/pyClasses
|
||||
"""
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
|
||||
from Problems.Problem import Problem
|
||||
from Stopwatch import Stopwatch
|
||||
from Algorithms import getAllFib
|
||||
from Unsolved import Unsolved
|
||||
|
||||
@@ -77,6 +76,7 @@ class Problem2(Problem):
|
||||
raise Unsolved("You must solve the problem before can you see the sum")
|
||||
return self.fullSum
|
||||
|
||||
|
||||
#If you are running this file, automatically start the correct function
|
||||
if __name__ == '__main__':
|
||||
problem = Problem2() #Call the function that answers the question
|
||||
|
||||
Reference in New Issue
Block a user