'''simple docstring'''




def     __snake_case			(							lowerCAmelCase							:  int = 10   ,	lowerCAmelCase							:  int = 22      ):
 __UpperCAmelCase								=       range(1   ,	a_      )
 __UpperCAmelCase								=       range(1   ,	a_      )
 return sum(
     1 for power in powers for base in bases if len(str(base**power      )      ) == power      )


if __name__ == "__main__":
     print(f"{solution(10, 22) = }")











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






