
def 	UpperCamelCase__  (     SCREAMING_SNAKE_CASE_	:	List[str]		,   SCREAMING_SNAKE_CASE_	:	Tuple       )  ->     int:
						_lowercase					       =					[0 for i in range(r + 1       )]
						# nc0 = 1
						_lowercase					       =					1
						for i in range(1		,   n + 1       ):
												# to compute current row from previous row.
												_lowercase					       =					min(SCREAMING_SNAKE_CASE_		,   SCREAMING_SNAKE_CASE_       )
												while j > 0:
																		c[j] += c[j - 1]
																		j -= 1
						return c[r]



print(binomial_coefficient(n=10, r=5))






'''simple docstring'''

def    a__							(							lowercase   :	int,   lowercase   :	int,   lowercase   :	int )						->						float:





     """simple docstring"""

     _UpperCamelCase							       =			(num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
     # formula for sum of series
     return total







def    a__							(							)						->						Tuple:





     """simple docstring"""

     print(sum_of_series(1,   1,   10 ) )


if __name__ == "__main__":
   import doctest

   doctest.testmod()



