def  UpperCAmelCase_  (      _UpperCAmelCase    ):

						if length <= 0 or not isinstance(_UpperCAmelCase			,  _UpperCAmelCase    ):
												raise ValueError("""Length must be a positive integer."""    )
						return [n * (2 * n - 1) for n in range(_UpperCAmelCase    )]


if __name__ == "__main__":
			print(hexagonal_numbers(length=5))
			print(hexagonal_numbers(length=1_0))






"""simple docstring"""






_lowercase							=				'''
# Installazione di Transformers
! pip install transformers datasets
# Per installare dalla fonte invece dell\'ultima versione rilasciata, commenta il comando sopra e
# rimuovi la modalità commento al comando seguente.
# ! pip install git+https://github.com/huggingface/transformers.git
'''

_lowercase							=				[{'''type''': '''code''', '''content''': INSTALL_CONTENT}]
_lowercase							=				{
    '''{processor_class}''': '''FakeProcessorClass''',
    '''{model_class}''': '''FakeModelClass''',
    '''{object_class}''': '''FakeObjectClass''',
}





