


'''simple docstring'''






def       _snake_case     (  A = 1				,					A = 1000 )		->					int:
							lowerCAmelCase__      =			1
							lowerCAmelCase__      =			0

							for divide_by_number in range(A				,					digit + 1 ):
														lowerCAmelCase__      =			[]
														lowerCAmelCase__      =			numerator
														for _ in range(1				,					digit + 1 ):
																					if now_divide in has_been_divided:
																												if longest_list_length < len(A ):
																																			lowerCAmelCase__      =			len(A )
																																			lowerCAmelCase__      =			divide_by_number
																					else:
																												has_been_divided.append(A )
																												lowerCAmelCase__      =			now_divide * 10 % divide_by_number

							return the_digit


# Tests
if __name__ == "__main__":
		import doctest

		doctest.testmod()



'''simple docstring'''






def       _snake_case     (  A )		->					bool:
							if not isinstance(A				,					A ):
														raise ValueError('''Input series is not valid, valid series - [2, 4, 6]''' )
							if len(A ) == 0:
														raise ValueError('''Input list must be a non empty list''' )
							if len(A ) == 1:
														return True
							lowerCAmelCase__      =			series[1] - series[0]
							for index in range(len(A ) - 1 ):
														if series[index + 1] - series[index] != common_diff:
																					return False
							return True


def       _snake_case     (  A )		->					float:
							if not isinstance(A				,					A ):
														raise ValueError('''Input series is not valid, valid series - [2, 4, 6]''' )
							if len(A ) == 0:
														raise ValueError('''Input list must be a non empty list''' )
							lowerCAmelCase__      =			0
							for val in series:
														answer += val
							return answer / len(A )


if __name__ == "__main__":
		import doctest

		doctest.testmod()