

'''simple docstring'''





import math

UpperCamelCase_    						=       10
UpperCamelCase_    						=       7
UpperCamelCase_    						=       BALLS_PER_COLOUR * NUM_COLOURS






def 				_lowerCAmelCase			(   __magic_name__						:     int = 20						)				->  str:
						lowercase :							Any    		=math.comb(__magic_name__   , __magic_name__						)
						lowercase :							Any    		=math.comb(NUM_BALLS - BALLS_PER_COLOUR   , __magic_name__						)

						lowercase :							Optional[Any]    		=NUM_COLOURS * (1 - missing_colour / total)

						return f'''{result:.9f}'''


if __name__ == "__main__":
							print(solution(20))








'''simple docstring'''





from __future__ import annotations






def 				_lowerCAmelCase			(   __magic_name__						:     list[float]						)				->  float:
						lowercase :							Any    		=0.0_0
						lowercase :							Tuple    		=0
						for resistor in resistors:
												if resistor <= 0:
																		lowercase :							Dict    		=f'''Resistor at index {index} has a negative or zero value!'''
																		raise ValueError(__magic_name__						)
												first_sum += 1 / float(__magic_name__						)
												index += 1
						return 1 / first_sum






def 				_lowerCAmelCase			(   __magic_name__						:     list[float]						)				->  float:
						lowercase :							Optional[Any]    		=0.0_0
						lowercase :							int    		=0
						for resistor in resistors:
												sum_r += resistor
												if resistor < 0:
																		lowercase :							Tuple    		=f'''Resistor at index {index} has a negative value!'''
																		raise ValueError(__magic_name__						)
												index += 1
						return sum_r


if __name__ == "__main__":
							import doctest

							doctest.testmod()





