We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b05ad commit 41b07e2Copy full SHA for 41b07e2
1 file changed
maths/binomial_expansion.py
@@ -19,6 +19,9 @@ def binomial_expansion(a: float, b: float, n: int) -> int | float:
19
Raises:
20
ZeroDivisionError: If a + b == 0 and n < 0.
21
22
+ See Also:
23
+ https://en.wikipedia.org/wiki/Binomial_theorem
24
+
25
Examples:
26
>>> binomial_expansion(2, 3, 2)
27
0 commit comments