Skip to content

Commit 23956fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 83f185a commit 23956fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

maths/factorial_recursive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Reference: https://en.wikipedia.org/wiki/Factorial
55
"""
66

7+
78
def factorial(number: int) -> int:
89
"""
910
Calculate the factorial of a non-negative integer recursively.

0 commit comments

Comments
 (0)