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/Problem4.py
|
||||
#Matthew Ellison
|
||||
# Created: 01-28-19
|
||||
#Modified: 07-17-20
|
||||
#Modified: 10-29-20
|
||||
#Find the largest palindrome made from the product of two 3-digit numbers
|
||||
#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 Unsolved import Unsolved
|
||||
|
||||
|
||||
@@ -88,6 +87,7 @@ class Problem4(Problem):
|
||||
raise Unsolved("You must solve the problem before you can get the largest palindrome")
|
||||
return self.palindromes[len(self.palindromes) - 1]
|
||||
|
||||
|
||||
#If you are running this file, automatically start the correct function
|
||||
if __name__ == '__main__':
|
||||
problem = Problem4()
|
||||
|
||||
Reference in New Issue
Block a user