





'''simple docstring'''




def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase = " "    )->     list:
	__UpperCAmelCase					=   []

	__UpperCAmelCase					=   0
	for index, char in enumerate(_lowerCAmelCase    ):
		if char == separator:
			split_words.append(string[last_index:index]    )
			__UpperCAmelCase					=   index + 1
		elif index + 1 == len(_lowerCAmelCase    ):
			split_words.append(string[last_index : index + 1]    )
	return split_words


if __name__ == "__main__":
				from doctest import testmod

				testmod()












'''simple docstring'''




from collections.abc import Sequence







def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase    )->     float:
 return sum(c * (x**i) for i, c in enumerate(_lowerCAmelCase    )    )







def _lowerCAmelCase     (      _lowerCAmelCase       ,    _lowerCAmelCase    )->     float:
 __UpperCAmelCase					=   0.0
 for coeff in reversed(_lowerCAmelCase    ):
  __UpperCAmelCase					=   result * x + coeff
 return result


if __name__ == "__main__":
    _A:					str							=				(0.0, 0.0, 5.0, 9.3, 7.0)
    _A:					Dict							=				10.0
    print(evaluate_poly(poly, x))
    print(horner(poly, x))





