






def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			int    )						->      bool:





    """simple docstring"""

    __A         =	n ** (1 / 3)
    return (val * val * val) == n


if __name__ == "__main__":
  print(perfect_cube(27))
  print(perfect_cube(4))












from collections.abc import Sequence



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			Sequence[float]			,				__lowercase   :			float    )						->      float:





    """simple docstring"""

    return sum(c * (x**i) for i, c in enumerate(__lowercase    )    )



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			Sequence[float]			,				__lowercase   :			float    )						->      float:





    """simple docstring"""

    __A         =	0.0
    for coeff in reversed(__lowercase    ):
        __A         =	result * x + coeff
    return result


if __name__ == "__main__":
  __a      :       Dict				  =   (0.0, 0.0, 5.0, 9.3, 7.0)
  __a      :       Optional[Any]				  =   1_0.0
  print(evaluate_poly(poly, x))
  print(horner(poly, x))




