




'''simple docstring'''


from __future__ import annotations

from math import pi, sqrt



def  _SCREAMING_SNAKE_CASE     (      UpperCamelCase__    :					float ,    UpperCamelCase__    :					float				):




     """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'''


from __future__ import annotations



def  _SCREAMING_SNAKE_CASE     (      UpperCamelCase__    :					list[float]				):




     """simple docstring"""


     if len(UpperCamelCase__				) < 2:
          raise ValueError("""Monogons and Digons are not polygons in the Euclidean space"""				)
     if any(i <= 0 for i in nums				):
          raise ValueError("""All values must be greater than 0"""				)
     a_     :							int     						=  nums.copy()
     copy_nums.sort()
     return copy_nums[-1] < sum(copy_nums[:-1]				)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
