




def 							__lowerCAmelCase			(UpperCAmelCase_		):
    if not isinstance(UpperCAmelCase_ ,     UpperCAmelCase_		):
        raise ValueError("""double_factorial() only accepts integral values"""		)
    if num < 0:
        raise ValueError("""double_factorial() not defined for negative values"""		)
    a__  			=							1
    for i in range(UpperCAmelCase_ ,     0 ,     -2		):
        value *= i
    return value


if __name__ == "__main__":
 import doctest

 doctest.testmod()












from __future__ import annotations

import random







class 		__UpperCAmelCase:





     """simple docstring"""



     __UpperCAmelCase						:			Optional[int]							=     6

     def __init__(   self			:							int     )      ->      Optional[Any]:






         """simple docstring"""
         a__  			=							list(range(1    ,					Dice.NUM_SIDES + 1     )     )






     def 					__SCREAMING_SNAKE_CASE		(   self			:							Union[str, Any]     )      ->      List[str]:






         """simple docstring"""
         return random.choice(self.sides     )






def 							__lowerCAmelCase			(UpperCAmelCase_ ,     UpperCAmelCase_ = 2		):
    a__  			=							[Dice() for i in range(UpperCAmelCase_		)]
    a__  			=							[0] * (len(UpperCAmelCase_		) * Dice.NUM_SIDES + 1)
    for _ in range(UpperCAmelCase_		):
        count_of_sum[sum(dice.roll() for dice in dices		)] += 1
    a__  			=							[round((count * 100) / num_throws ,     2		) for count in count_of_sum]
    return probability[num_dice:]  # remove probability of sums that never appear


if __name__ == "__main__":
 import doctest

 doctest.testmod()






