





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        SCREAMING_SNAKE_CASE      (       _UpperCAmelCase )			->     int:
    return {key.lstrip('-' ): value for key, value in zip(unknown_args[::2]						,	unknown_args[1::2] )}


def        SCREAMING_SNAKE_CASE      (       )			->     Dict:
    lowerCamelCase__    :      Optional[Any]					 =		ArgumentParser(
        'HuggingFace Datasets CLI tool'						,	usage='datasets-cli <command> [<args>]'						,	allow_abbrev=_UpperCAmelCase )
    lowerCamelCase__    :      List[Any]					 =		parser.add_subparsers(help='datasets-cli command helpers' )
    set_verbosity_info()

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

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

    # Run
    lowerCamelCase__    :      Optional[int]					 =		args.func(_UpperCAmelCase						,	**_UpperCAmelCase )
    service.run()


if __name__ == "__main__":
    main()







def    __UpperCamelCase     (				lowerCAmelCase__							:				str  ):
 if n_term == "":
  return []
 __a :  list						=  []
 for temp in range(int(lowerCAmelCase__  )  ):
  series.append(f"1/{temp + 1}" if series else '''1'''  )
 return series


if __name__ == "__main__":
      lowercase__       =input('Enter the last number (nth term) of the Harmonic Series')
      print('Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n')
      print(harmonic_series(nth_term))
