

'''simple docstring'''







from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
)


__lowerCamelCase										=			{
    'configuration_falcon': ['FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP', 'FalconConfig'],
}

try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      __lowerCamelCase										=			[
          'FALCON_PRETRAINED_MODEL_ARCHIVE_LIST',
          'FalconForCausalLM',
          'FalconModel',
          'FalconPreTrainedModel',
          'FalconForSequenceClassification',
          'FalconForTokenClassification',
          'FalconForQuestionAnswering',
      ]


if TYPE_CHECKING:
      from .configuration_falcon import FALCON_PRETRAINED_CONFIG_ARCHIVE_MAP, FalconConfig

      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_falcon import (
                FALCON_PRETRAINED_MODEL_ARCHIVE_LIST,
                FalconForCausalLM,
                FalconForQuestionAnswering,
                FalconForSequenceClassification,
                FalconForTokenClassification,
                FalconModel,
                FalconPreTrainedModel,
            )


else:
      import sys

      __lowerCamelCase										=			_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)







'''simple docstring'''







def  _lowerCamelCase				( lowercase						:      str						)	->	list:
				if n_term == "":
								return []
				_a								= []
				for temp in range(int(lowercase						)						):
								series.append(F'1/{temp + 1}' if series else "1"						)
				return series


if __name__ == "__main__":
					lowerCAmelCase_					:    Union[str, Any]      	=			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))
