Skip to content

Commit 38eff76

Browse files
committed
correcting the way type check works
1 parent d6fb746 commit 38eff76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_56/sol1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
def maximum_digital_sum(a,b) -> int:
3+
def maximum_digital_sum(a: int, b: int) -> int:
44
"""
55
Considering natural numbers of the form, a**b, where a, b < 100,
66
what is the maximum digital sum?

0 commit comments

Comments
 (0)