Skip to content

Commit 2761b12

Browse files
committed
rename method for project_euler/problem TheAlgorithms#56
1 parent 7d54056 commit 2761b12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: project_euler/problem_56/sol1.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
def maximum_digital_sum(a: int, b: int) -> int:
1+
def solution(a: int, b: int) -> int:
22
"""
33
Considering natural numbers of the form, a**b, where a, b < 100,
44
what is the maximum digital sum?
55
:param a:
66
:param b:
77
:return:
8-
>>> maximum_digital_sum(10,10)
8+
>>> solution(10,10)
99
45
1010
11-
>>> maximum_digital_sum(100,100)
11+
>>> solution(100,100)
1212
972
1313
14-
>>> maximum_digital_sum(100,200)
14+
>>> solution(100,200)
1515
1872
1616
"""
1717

0 commit comments

Comments
 (0)