





"""simple docstring"""





def       a__					(					_SCREAMING_SNAKE_CASE    ):




		"""simple docstring"""


		if not isinstance(_SCREAMING_SNAKE_CASE  ,	_SCREAMING_SNAKE_CASE    ):
				raise ValueError("multiplicative_persistence() only accepts integral values"    )
		if num < 0:
				raise ValueError("multiplicative_persistence() does not accept negative values"    )

		UpperCamelCase   =	0
		UpperCamelCase   =	str(_SCREAMING_SNAKE_CASE    )

		while len(_SCREAMING_SNAKE_CASE    ) != 1:
				UpperCamelCase   =	[int(_SCREAMING_SNAKE_CASE    ) for i in num_string]

				UpperCamelCase   =	1
				for i in range(0  ,	len(_SCREAMING_SNAKE_CASE    )    ):
						total *= numbers[i]

				UpperCamelCase   =	str(_SCREAMING_SNAKE_CASE    )

				steps += 1
		return steps


def       a__					(					_SCREAMING_SNAKE_CASE    ):




		"""simple docstring"""


		if not isinstance(_SCREAMING_SNAKE_CASE  ,	_SCREAMING_SNAKE_CASE    ):
				raise ValueError("additive_persistence() only accepts integral values"    )
		if num < 0:
				raise ValueError("additive_persistence() does not accept negative values"    )

		UpperCamelCase   =	0
		UpperCamelCase   =	str(_SCREAMING_SNAKE_CASE    )

		while len(_SCREAMING_SNAKE_CASE    ) != 1:
				UpperCamelCase   =	[int(_SCREAMING_SNAKE_CASE    ) for i in num_string]

				UpperCamelCase   =	0
				for i in range(0  ,	len(_SCREAMING_SNAKE_CASE    )    ):
						total += numbers[i]

				UpperCamelCase   =	str(_SCREAMING_SNAKE_CASE    )

				steps += 1
		return steps


if __name__ == "__main__":
						import doctest

						doctest.testmod()













"""simple docstring"""





from diffusers.utils.testing_utils import require_onnxruntime





@require_onnxruntime
class        _lowerCamelCase      :
						pass






