





'''simple docstring'''




import sys
import turtle






def        _lowerCAmelCase			(  __snake_case  : tuple[float, float] ,							__snake_case  : tuple[float, float]			)     ->     tuple[float, float]:
     return (pa[0] + pa[0]) / 2, (pa[1] + pa[1]) / 2






def        _lowerCAmelCase			(  __snake_case  : tuple[float, float] ,							__snake_case  : tuple[float, float] ,							__snake_case  : tuple[float, float] ,							__snake_case  : int ,							)     ->     None:
     my_pen.up()
     my_pen.goto(vertexa[0] ,							vertexa[1]			)
     my_pen.down()
     my_pen.goto(vertexa[0] ,							vertexa[1]			)
     my_pen.goto(vertexa[0] ,							vertexa[1]			)
     my_pen.goto(vertexa[0] ,							vertexa[1]			)

     if depth == 0:
          return

     triangle(__snake_case ,							get_mid(__snake_case ,							__snake_case			) ,							get_mid(__snake_case ,							__snake_case			) ,							depth - 1			)
     triangle(__snake_case ,							get_mid(__snake_case ,							__snake_case			) ,							get_mid(__snake_case ,							__snake_case			) ,							depth - 1			)
     triangle(__snake_case ,							get_mid(__snake_case ,							__snake_case			) ,							get_mid(__snake_case ,							__snake_case			) ,							depth - 1			)


if __name__ == "__main__":
  if len(sys.argv) != 2:
    raise ValueError(
        '''Correct format for using this script: '''
        '''python fractals.py <int:depth_for_fractal>'''
    )
  lowercase__    :      Any						=    turtle.Turtle()
  my_pen.ht()
  my_pen.speed(5)
  my_pen.pencolor('''red''')

  lowercase__    :      int						=    [(-1_75, -1_25), (0, 1_75), (1_75, -1_25)]  # vertices of triangle
  triangle(vertices[0], vertices[1], vertices[2], int(sys.argv[1]))






'''simple docstring'''




from argparse import ArgumentParser

from datasets.commands.convert import ConvertCommand
from datasets.commands.dummy_data import DummyDataCommand
from datasets.commands.env import EnvironmentCommand
from datasets.commands.run_beam import RunBeamCommand
from datasets.commands.test import TestCommand
from datasets.utils.logging import set_verbosity_info






def        _lowerCAmelCase			(  __snake_case  : Tuple			)     ->     Dict:
     return {key.lstrip('-'			): value for key, value in zip(unknown_args[::2] ,							unknown_args[1::2]			)}






def        _lowerCAmelCase			(  )     ->     Tuple:
     __A						: int      =       ArgumentParser(
         'HuggingFace Datasets CLI tool' ,							usage='datasets-cli <command> [<args>]' ,							allow_abbrev=__snake_case			)
     __A						: Optional[Any]      =       parser.add_subparsers(help='datasets-cli command helpers'			)
     set_verbosity_info()

     # Register commands
     ConvertCommand.register_subcommand(__snake_case			)
     EnvironmentCommand.register_subcommand(__snake_case			)
     TestCommand.register_subcommand(__snake_case			)
     RunBeamCommand.register_subcommand(__snake_case			)
     DummyDataCommand.register_subcommand(__snake_case			)

     # Parse args
     __A ,__A						: Optional[Any]      =       parser.parse_known_args()
     if not hasattr(__snake_case ,							'func'			):
          parser.print_help()
          exit(1			)
     __A						: Any      =       parse_unknown_args(__snake_case			)

     # Run
     __A						: List[Any]      =       args.func(__snake_case ,							**__snake_case			)
     service.run()


if __name__ == "__main__":
  main()