


"""simple docstring"""







import re

from filelock import FileLock


try:
		import nltk

		a__				:							List[str]						=     True
except (ImportError, ModuleNotFoundError):
		a__				:							int						=     False

if NLTK_AVAILABLE:
		with FileLock('''.lock''') as lock:
				nltk.download('''punkt''', quiet=True)




def    UpperCAmelCase__       (lowerCAmelCase_   ):




					'''simple docstring'''


					re.sub("<n>"  ,						""  ,						lowerCAmelCase_   )  # remove pegasus newline char
					assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
					return "\n".join(nltk.sent_tokenize(lowerCAmelCase_   )   )

"""simple docstring"""






from __future__ import annotations

from math import pi, sqrt



def SCREAMING_SNAKE_CASE__			(   __UpperCAmelCase       ,    __UpperCAmelCase )  ->  tuple:

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