


'''simple docstring'''







def     _UpperCamelCase				(			UpperCamelCase__  , UpperCamelCase__		):






				"""simple docstring"""



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


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))

from __future__ import annotations


def    a      ( a	)     ->float:




			'''simple docstring'''


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


def    a      ( a	)     ->float:




			'''simple docstring'''


			SCREAMING_SNAKE_CASE     						= 0.00
			SCREAMING_SNAKE_CASE     						= 0
			for resistor in resistors:
						sum_r += resistor
						if resistor < 0:
									SCREAMING_SNAKE_CASE     						= F"""Resistor at index {index} has a negative value!"""
									raise ValueError(a	)
						index += 1
			return sum_r


if __name__ == "__main__":
							import doctest

							doctest.testmod()