mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-27 17:06:44 +00:00
Add typng to binomial_coefficient.py (#9480)
This commit is contained in:
parent
73118b9f67
commit
95345f6f5b
@ -1,4 +1,4 @@
|
|||||||
def binomial_coefficient(n, r):
|
def binomial_coefficient(n: int, r: int) -> int:
|
||||||
"""
|
"""
|
||||||
Find binomial coefficient using pascals triangle.
|
Find binomial coefficient using pascals triangle.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user