diff --git a/Problems/Problem38.py b/Problems/Problem38.py index a883546..7e2ff17 100644 --- a/Problems/Problem38.py +++ b/Problems/Problem38.py @@ -1,7 +1,7 @@ #ProjectEuler/ProjectEulerPython/Problems/Problem38.py #Matthew Ellison # Created: 10-20-21 -#Modified: 10-20-21 +#Modified: 11-11-21 #What is the largest 1-9 pandigital number that can be formed as the concatenated product of an integer with 1, 2, ... n where n > 1 #Unless otherwise listed, all of my non-standard imports can be gotten from my pyClasses repository at https://bitbucket.org/Mattrixwv/pyClasses """ @@ -34,8 +34,8 @@ class Problem38(Problem): #Constructor def __init__(self) -> None: super().__init__("What is the largest 1-9 pandigital number that can be formed as the concatenated product of an integer with 1, 2, ... n where n > 1") - self.largestNum = 0 - self.pandigital = 0 + self.largestNum = 0 #The number passed to the executeFormula function that returns the largest pandigital + self.pandigital = 0 #The largest pandigital number found #Operational functions #Take the number and add its multiples to a string to return