Skip to content

Commit 95345f6

Browse files
Add typng to binomial_coefficient.py (TheAlgorithms#9480)
1 parent 73118b9 commit 95345f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: maths/binomial_coefficient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def binomial_coefficient(n, r):
1+
def binomial_coefficient(n: int, r: int) -> int:
22
"""
33
Find binomial coefficient using pascals triangle.
44

0 commit comments

Comments
 (0)