Skip to content

Commit 3782829

Browse files
committed
Fixed coding style problem 33 fixes: TheAlgorithms#2786
1 parent 477b2c2 commit 3782829

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: project_euler/problem_33/sol1.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ def isDigitCancelling(num, den):
2323
return True
2424

2525

26-
def solve(digit_len: int) -> str:
26+
def solution(digit_len: int) -> str:
2727
"""
28-
>>> solve(2)
28+
>>> solution(2)
2929
'16/64 , 19/95 , 26/65 , 49/98'
30-
>>> solve(3)
30+
>>> solution(3)
3131
'16/64 , 19/95 , 26/65 , 49/98'
32-
>>> solve(4)
32+
>>> solution(4)
3333
'16/64 , 19/95 , 26/65 , 49/98'
34-
>>> solve(0)
34+
>>> solution(0)
3535
''
36-
>>> solve(5)
36+
>>> solution(5)
3737
'16/64 , 19/95 , 26/65 , 49/98'
3838
"""
3939
solutions = []
@@ -52,4 +52,4 @@ def solve(digit_len: int) -> str:
5252

5353

5454
if __name__ == "__main__":
55-
print(solve(2))
55+
print(solution(2))

0 commit comments

Comments
 (0)