Add typng to binomial_coefficient.py (#9480)

This commit is contained in:
Saksham Chawla 2023-10-02 20:51:45 +05:30 committed by GitHub
parent 73118b9f67
commit 95345f6f5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
def binomial_coefficient(n, r):
def binomial_coefficient(n: int, r: int) -> int:
"""
Find binomial coefficient using pascals triangle.