



"""simple docstring"""

from __future__ import annotations

from math import pi, sqrt
def  __snake_case							(	__A      :						float							,		__A      :						float     )     ->       tuple:






				'''simple docstring'''

				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()










"""simple docstring"""

def  __snake_case							(	__A      :						list							,		__A      :						int							,		__A      :						int = 0							,		__A      :						int = 0     )     ->       int:






				'''simple docstring'''
				SCREAMING_SNAKE_CASE						:							Any							=     right or len(__A     ) - 1
				if left > right:
								return -1
				elif list_data[left] == key:
								return left
				elif list_data[right] == key:
								return right
				else:
								return search(__A							,		__A							,		left + 1							,		right - 1     )


if __name__ == "__main__":
							import doctest

							doctest.testmod()





