mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-19 00:37:02 +00:00
Hacktoberfest 2020: Rename method for project_euler/problem_99 (#2981)
* name method solution in project_euler/problem99 * rename function
This commit is contained in:
parent
a698fa9a3f
commit
ff9be86390
|
@ -17,9 +17,9 @@ import os
|
||||||
from math import log10
|
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
|
709
|
||||||
"""
|
"""
|
||||||
largest = [0, 0]
|
largest = [0, 0]
|
||||||
|
@ -31,4 +31,4 @@ def find_largest(data_file: str = "base_exp.txt") -> int:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print(find_largest())
|
print(solution())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user