

'''simple docstring'''
from math import factorial

lowerCamelCase :      Optional[int]					 =     {str(d): factorial(d) for d in range(1_0)}


def        _lowerCAmelCase					(						_UpperCamelCase						:     int				)      ->			Any:
     """simple docstring"""




     return sum(DIGIT_FACTORIAL[d] for d in str(snake_case__				)				)


def        _lowerCAmelCase					(						)      ->			Optional[Any]:
     """simple docstring"""




     _SCREAMING_SNAKE_CASE							    =7 * factorial(9				) + 1
     return sum(i for i in range(3							, snake_case__				) if sum_of_digit_factorial(snake_case__				) == i				)


if __name__ == "__main__":
     print(f'''{solution() = }''')






"""simple docstring"""


from __future__ import annotations


def 					UpperCAmelCase__       (snake_case__							:					list[float]    ):
  """simple docstring"""

  _snake_case							:		int								=  0.00
  _snake_case							:		int								=  0
  for resistor in resistors:
    if resistor <= 0:
      _snake_case							:		Dict								=  F"Resistor at index {index} has a negative or zero value!"
      raise ValueError(snake_case__    )
    first_sum += 1 / float(snake_case__    )
    index += 1
  return 1 / first_sum


def 					UpperCAmelCase__       (snake_case__							:					list[float]    ):
  """simple docstring"""

  _snake_case							:		Union[str, Any]								=  0.00
  _snake_case							:		Any								=  0
  for resistor in resistors:
    sum_r += resistor
    if resistor < 0:
      _snake_case							:		Any								=  F"Resistor at index {index} has a negative value!"
      raise ValueError(snake_case__    )
    index += 1
  return sum_r


if __name__ == "__main__":
     import doctest

     doctest.testmod()


