
"""simple docstring"""





def 							A_     (__a				):

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

					A_				 =						0
					A_				 =						str(a_				)

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

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

										A_				 =						str(a_				)

										steps += 1
					return steps
def 							A_     (__a				):

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

					A_				 =						0
					A_				 =						str(a_				)

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

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

										A_				 =						str(a_				)

										steps += 1
					return steps


if __name__ == "__main__":
		import doctest

		doctest.testmod()






"""simple docstring"""





import baseaa
def 							A_     (__a				):

					'''simple docstring'''





					return baseaa.aaaencode(string.encode("utf-8"				)				)
def 							A_     (__a				):

					'''simple docstring'''





					return baseaa.aaadecode(__a				).decode("utf-8"				)


if __name__ == "__main__":
		import doctest

		doctest.testmod()




