mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Add typng to binomial_coefficient.py (#9480)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
def binomial_coefficient(n, r):
|
||||
def binomial_coefficient(n: int, r: int) -> int:
|
||||
"""
|
||||
Find binomial coefficient using pascals triangle.
|
||||
|
||||
|
Reference in New Issue
Block a user