Skip to content

Commit e28cb47

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

maths/factorial.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Factorial of a positive integer -- https://en.wikipedia.org/wiki/Factorial
33
"""
4+
45
"""
56
Implementation of factorial algorithms (iterative and recursive).
67
@@ -10,6 +11,7 @@
1011
- Type hints
1112
"""
1213

14+
1315
def factorial(number: int) -> int:
1416
"""
1517
Calculate the factorial of specified number (n!).

0 commit comments

Comments
 (0)