Skip to content

Commit 16cab8c

Browse files
committed
Update ncr_combinations.py
1 parent c15888a commit 16cab8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

maths/ncr_combinations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
def combinations(total: float, choose: int) -> float:
1111
"""
12-
Compute the number of combinations
13-
using the formula:
12+
Compute the number of combinations using the formula:
1413
1514
combinations = total * (total-1) * ... * (total-choose+1) / choose!
1615

0 commit comments

Comments
 (0)