mirror of
https://bitbucket.org/Mattrixwv/projecteulerpython.git
synced 2025-12-06 17:43:58 -05:00
Updated comments
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ProjectEuler/ProjectEulerPython/Problems/Problem38.py
|
#ProjectEuler/ProjectEulerPython/Problems/Problem38.py
|
||||||
#Matthew Ellison
|
#Matthew Ellison
|
||||||
# Created: 10-20-21
|
# 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
|
#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
|
#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
|
#Constructor
|
||||||
def __init__(self) -> None:
|
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")
|
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.largestNum = 0 #The number passed to the executeFormula function that returns the largest pandigital
|
||||||
self.pandigital = 0
|
self.pandigital = 0 #The largest pandigital number found
|
||||||
|
|
||||||
#Operational functions
|
#Operational functions
|
||||||
#Take the number and add its multiples to a string to return
|
#Take the number and add its multiples to a string to return
|
||||||
|
|||||||
Reference in New Issue
Block a user