






"""simple docstring"""
def       __UpperCamelCase						(		snake_case__       ):

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

	A_		:    str						     = 0
	A_		:    Union[str, Any]						     = str(snake_case__       )

	while len(snake_case__       ) != 1:
		A_		:    Dict						     = [int(snake_case__       ) for i in num_string]

		A_		:    Optional[Any]						     = 1
		for i in range(0 , len(snake_case__       )       ):
			total *= numbers[i]

		A_		:    Dict						     = str(snake_case__       )

		steps += 1
	return steps






def       __UpperCamelCase						(		snake_case__       ):

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

	A_		:    Union[str, Any]						     = 0
	A_		:    List[Any]						     = str(snake_case__       )

	while len(snake_case__       ) != 1:
		A_		:    Any						     = [int(snake_case__       ) for i in num_string]

		A_		:    Optional[int]						     = 0
		for i in range(0 , len(snake_case__       )       ):
			total += numbers[i]

		A_		:    Tuple						     = str(snake_case__       )

		steps += 1
	return steps


if __name__ == "__main__":
							import doctest

							doctest.testmod()









"""simple docstring"""
_lowerCAmelCase       =				[
    "Audio",
    "Array2D",
    "Array3D",
    "Array4D",
    "Array5D",
    "ClassLabel",
    "Features",
    "Sequence",
    "Value",
    "Image",
    "Translation",
    "TranslationVariableLanguages",
]
from .audio import Audio
from .features import ArrayaD, ArrayaD, ArrayaD, ArrayaD, ClassLabel, Features, Sequence, Value
from .image import Image
from .translation import Translation, TranslationVariableLanguages

