


def      _lowerCAmelCase  (							lowerCAmelCase_							:int							)->int:
   '''simple docstring'''






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


if __name__ == "__main__":
    import doctest

    doctest.testmod()








from .prime_check import Test

Test()




