Skip to content

Commit 0bc3691

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7d7f50b commit 0bc3691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/reverse_factorial_recursive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def reverse_factorial(n: int, divisor: int = 1) -> int:
22
"""
33
Return x such that x! equals the given n, or -1 if no such integer exists.
44
5-
This function recursively divides the number `n` by successive integers
5+
This function recursively divides the number `n` by successive integers
66
starting from 1 until it reaches 1. If the division completes exactly at 1,
77
the last divisor - 1 is the factorial root. Otherwise, return -1.
88

0 commit comments

Comments
 (0)