Skip to content

Commit 137dda1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4c7cc73 commit 137dda1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recursion/factorial.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Fibonacci
33
https://en.wikipedia.org/wiki/Fibonacci_number
44
"""
5+
6+
57
def factorial(number: int) -> int:
68
"""
79
Compute the factorial of a non-negative integer using recursion.

0 commit comments

Comments
 (0)