Hacktoberfest 2020: Rename method for project_euler/problem_99 (#2981)

* name method solution in project_euler/problem99

* rename function
This commit is contained in:
Wen Hong 2020-10-07 23:16:11 +08:00 committed by GitHub
parent a698fa9a3f
commit ff9be86390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,9 @@ import os
from math import log10
def find_largest(data_file: str = "base_exp.txt") -> int:
def solution(data_file: str = "base_exp.txt") -> int:
"""
>>> find_largest()
>>> solution()
709
"""
largest = [0, 0]
@ -31,4 +31,4 @@ def find_largest(data_file: str = "base_exp.txt") -> int:
if __name__ == "__main__":
print(find_largest())
print(solution())