Skip to content

Commit 8629e78

Browse files
poyeacclauss
andauthored
Update maths/factorial_iterative.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent 258816d commit 8629e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/factorial_iterative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def factorial(number: int) -> int:
66
"""
7-
Calculate the factorial of specified number (n!).
7+
Calculate the factorial of specified number (number!).
88
99
>>> import math
1010
>>> all(factorial(i) == math.factorial(i) for i in range(20))

0 commit comments

Comments
 (0)