

import math

lowerCAmelCase							:  Union[str, Any]   	=						10
lowerCAmelCase							:  List[str]   	=						7
lowerCAmelCase							:  Dict   	=						BALLS_PER_COLOUR * NUM_COLOURS







def 			A_      (    _UpperCAmelCase = 20    ):
						SCREAMING_SNAKE_CASE_: Any  		=       math.comb(UpperCamelCase_				,	UpperCamelCase_    )
						SCREAMING_SNAKE_CASE_: Union[str, Any]  		=       math.comb(NUM_BALLS - BALLS_PER_COLOUR				,	UpperCamelCase_    )

						SCREAMING_SNAKE_CASE_: Union[str, Any]  		=       NUM_COLOURS * (1 - missing_colour / total)

						return f"{result:.9f}"


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









"""simple docstring"""





def   _A  (  UpperCamelCase_     :       list[int])	->						float:
   '''simple docstring'''


   if not nums:  # Makes sure that the list is not empty
      raise ValueError("List is empty")

   __lowercase								=						sum(UpperCamelCase_) / len(UpperCamelCase_)  # Calculate the average
   return sum(abs(x - average) for x in nums) / len(UpperCamelCase_)


if __name__ == "__main__":
   import doctest

   doctest.testmod()




