Added template for future problems.
This commit is contained in:
@@ -32,7 +32,9 @@ def file_name_to_solution(name):
|
||||
|
||||
def get_solution_list(directory="./"):
|
||||
l = [file_name_to_solution(f) for f in os.listdir(directory)
|
||||
if f.endswith(".ipynb") and f.startswith("EulerProblem")]
|
||||
if f.endswith(".ipynb")
|
||||
if f.startswith("EulerProblem")
|
||||
if not f.endswith("000.ipynb")]
|
||||
l.sort(key=itemgetter(0))
|
||||
return l
|
||||
|
||||
|
||||
Reference in New Issue
Block a user