Skip to content

Commit 41b07e2

Browse files
add URL
1 parent 89b05ad commit 41b07e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

maths/binomial_expansion.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def binomial_expansion(a: float, b: float, n: int) -> int | float:
1919
Raises:
2020
ZeroDivisionError: If a + b == 0 and n < 0.
2121
22+
See Also:
23+
https://en.wikipedia.org/wiki/Binomial_theorem
24+
2225
Examples:
2326
>>> binomial_expansion(2, 3, 2)
2427
25

0 commit comments

Comments
 (0)