





'''simple docstring'''

from collections.abc import Sequence







def    a__							(							lowercase   :	Sequence[float],   lowercase   :	float )						->						float:





     """simple docstring"""

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







def    a__							(							lowercase   :	Sequence[float],   lowercase   :	float )						->						float:





     """simple docstring"""

     _UpperCamelCase							       =			0.0
     for coeff in reversed(lowercase ):
          _UpperCamelCase							       =			result * x + coeff
     return result


if __name__ == "__main__":
   lowercase__		:     Dict			=							(0.0, 0.0, 5.0, 9.3, 7.0)
   lowercase__		:     Optional[int]			=							10.0
   print(evaluate_poly(poly, x))
   print(horner(poly, x))




from argparse import ArgumentParser

from .env import EnvironmentCommand





def 							UpperCAmelCase		(       ):







				"""simple docstring"""



				__lowercase					     =				ArgumentParser('''Diffusers CLI tool'''				,     usage='''diffusers-cli <command> [<args>]'''				)
				__lowercase					     =				parser.add_subparsers(help='''diffusers-cli command helpers'''				)

				# Register commands
				EnvironmentCommand.register_subcommand(lowercase				)

				# Let's go
				__lowercase					     =				parser.parse_args()

				if not hasattr(lowercase				,     '''func'''				):
								parser.print_help()
								exit(1				)

				# Run
				__lowercase					     =				args.func(lowercase				)
				service.run()


if __name__ == "__main__":
		main()