
'''simple docstring'''
def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE,		__SCREAMING_SNAKE_CASE       ):
    """simple docstring"""






    if digit_amount > 0:
        return round(number - int(__SCREAMING_SNAKE_CASE       ),		__SCREAMING_SNAKE_CASE       )
    return number - int(__SCREAMING_SNAKE_CASE       )


if __name__ == "__main__":
  print(decimal_isolate(1.53, 0))
  print(decimal_isolate(35.345, 1))
  print(decimal_isolate(35.345, 2))
  print(decimal_isolate(35.345, 3))
  print(decimal_isolate(-14.789, 3))
  print(decimal_isolate(0, 2))
  print(decimal_isolate(-14.123, 1))
  print(decimal_isolate(-14.123, 2))
  print(decimal_isolate(-14.123, 3))






'''simple docstring'''
from __future__ import annotations

def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE       ):
    """simple docstring"""






    snake_case_ :    List[Any]     			=						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(__SCREAMING_SNAKE_CASE       )
        first_sum += 1 / float(__SCREAMING_SNAKE_CASE       )
        index += 1
    return 1 / first_sum

def 						UpperCamelCase_     (	__SCREAMING_SNAKE_CASE       ):
    """simple docstring"""






    snake_case_ :    Union[str, Any]     			=						0.00
    snake_case_ :    List[Any]     			=						0
    for resistor in resistors:
        sum_r += resistor
        if resistor < 0:
            snake_case_ :    str     			=						f'Resistor at index {index} has a negative value!'
            raise ValueError(__SCREAMING_SNAKE_CASE       )
        index += 1
    return sum_r


if __name__ == "__main__":
  import doctest

  doctest.testmod()




