Skip to content

Commit d08a47d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5130f3a commit d08a47d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

other/simple_recursion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
Each function has doctests to verify correct behavior.
1212
"""
1313

14+
1415
def factorial(n: int) -> int:
1516
"""
1617
Calculate the factorial of a non-negative integer n using recursion.
@@ -97,4 +98,5 @@ def sum_of_digits(n: int) -> int:
9798

9899
if __name__ == "__main__":
99100
import doctest
101+
100102
doctest.testmod()

0 commit comments

Comments
 (0)