mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-18 08:17:01 +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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user