
from __future__ import annotations

from math import pi, sqrt





def 			lowerCamelCase_ (				lowerCamelCase__	, lowerCamelCase__    ):

				if inductance <= 0:
								raise ValueError("Inductance cannot be 0 or negative"    )

				elif capacitance <= 0:
								raise ValueError("Capacitance cannot be 0 or negative"    )

				else:
								return (
								    "Resonant frequency",
								    float(1 / (2 * pi * (sqrt(inductance * capacitance    )))    ),
								)


if __name__ == "__main__":
			import doctest

			doctest.testmod()









def 						__SCREAMING_SNAKE_CASE  (				UpperCamelCase__ )  ->				list[int]:







			'''simple docstring'''

			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=10))



