





'''simple docstring'''


from __future__ import annotations

from math import pi, sqrt


def 						__a(SCREAMING_SNAKE_CASE_	:       float		,							SCREAMING_SNAKE_CASE_	:       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()





import math


def 							__lowerCAmelCase     (							_UpperCamelCase		:	int						)		->				list[int]:
 '''simple docstring'''


 SCREAMING_SNAKE_CASE		    =      []
 SCREAMING_SNAKE_CASE		    =      2
 SCREAMING_SNAKE_CASE		    =      int(math.sqrt(_UpperCamelCase						)						)  # Size of every segment
 SCREAMING_SNAKE_CASE		    =      [True] * (end + 1)
 SCREAMING_SNAKE_CASE		    =      []

 while start <= end:
  if temp[start] is True:
   in_prime.append(_UpperCamelCase						)
   for i in range(start * start		,				end + 1		,				_UpperCamelCase						):
    SCREAMING_SNAKE_CASE		    =      False
  start += 1
 prime += in_prime

 SCREAMING_SNAKE_CASE		    =      end + 1
 SCREAMING_SNAKE_CASE		    =      min(2 * end		,				_UpperCamelCase						)

 while low <= n:
  SCREAMING_SNAKE_CASE		    =      [True] * (high - low + 1)
  for each in in_prime:
   SCREAMING_SNAKE_CASE		    =      math.floor(low / each						) * each
   if t < low:
    t += each

   for j in range(_UpperCamelCase		,				high + 1		,				_UpperCamelCase						):
    SCREAMING_SNAKE_CASE		    =      False

  for j in range(len(_UpperCamelCase						)						):
   if temp[j] is True:
    prime.append(j + low						)

  SCREAMING_SNAKE_CASE		    =      high + 1
  SCREAMING_SNAKE_CASE		    =      min(high + end		,				_UpperCamelCase						)

 return prime




print(sieve(10**6))

