Skip to content

Commit ff9be86

Browse files
authored
Hacktoberfest 2020: Rename method for project_euler/problem_99 (TheAlgorithms#2981)
* name method solution in project_euler/problem99 * rename function
1 parent a698fa9 commit ff9be86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: project_euler/problem_99/sol1.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
from math import log10
1818

1919

20-
def find_largest(data_file: str = "base_exp.txt") -> int:
20+
def solution(data_file: str = "base_exp.txt") -> int:
2121
"""
22-
>>> find_largest()
22+
>>> solution()
2323
709
2424
"""
2525
largest = [0, 0]
@@ -31,4 +31,4 @@ def find_largest(data_file: str = "base_exp.txt") -> int:
3131

3232

3333
if __name__ == "__main__":
34-
print(find_largest())
34+
print(solution())

0 commit comments

Comments
 (0)