


from __future__ import annotations

from enum import Enum



class 							lowercase__(						snake_case__			):






      '''simple docstring'''







      snake_case__       =					2_4
      snake_case__       =					2_1
      snake_case__       =					1_8
      snake_case__       =					1_5
      snake_case__       =					1_2
      snake_case__       =					9
      snake_case__       =					6
      snake_case__       =					3
      snake_case__       =					2
      snake_case__       =					1
      snake_case__       =					-1
      snake_case__       =					-2
      snake_case__       =					-3
      snake_case__       =					-6
      snake_case__       =					-9
      snake_case__       =					-1_2
      snake_case__       =					-1_5
      snake_case__       =					-1_8
      snake_case__       =					-2_1
      snake_case__       =					-2_4




class 							lowercase__(						snake_case__			):






      '''simple docstring'''







      snake_case__       =					8
      snake_case__       =					7
      snake_case__       =					6
      snake_case__       =					5
      snake_case__       =					4
      snake_case__       =					3
      snake_case__       =					2
      snake_case__       =					1




def 	_lowerCamelCase  (		A_  :	float							,  A_  :	str | SIUnit							,  A_  :	str | SIUnit							,  )			->			float:

   '''simple docstring'''






   if isinstance(A_							,  A_      ):
      UpperCamelCase__ :			Tuple 						=SIUnit[known_prefix.lower()]
   if isinstance(A_							,  A_      ):
      UpperCamelCase__ :			Any 						=SIUnit[unknown_prefix.lower()]
   UpperCamelCase__ :			float 						=known_amount * (
       1_0 ** (known_prefix.value - unknown_prefix.value)
   )
   return unknown_amount
def 	_lowerCamelCase  (		A_  :	float							,  A_  :	str | BinaryUnit							,  A_  :	str | BinaryUnit							,  )			->			float:

   '''simple docstring'''






   if isinstance(A_							,  A_      ):
      UpperCamelCase__ :			int 						=BinaryUnit[known_prefix.lower()]
   if isinstance(A_							,  A_      ):
      UpperCamelCase__ :			int 						=BinaryUnit[unknown_prefix.lower()]
   UpperCamelCase__ :			float 						=known_amount * (
       2 ** ((known_prefix.value - unknown_prefix.value) * 1_0)
   )
   return unknown_amount


if __name__ == "__main__":
     import doctest

     doctest.testmod()





def 	_lowerCamelCase  (		A_  :	float							,  A_  :	float							,  A_  :	int      )			->			float:

   '''simple docstring'''






   UpperCamelCase__ :			Union[str, Any] 						=[1 / first_term]
   UpperCamelCase__ :			Tuple 						=1 / first_term
   for _ in range(number_of_terms - 1      ):
      first_term += common_difference
      arithmetic_progression.append(A_      )
   UpperCamelCase__ :			List[str] 						=[1 / step for step in arithmetic_progression]
   return sum(A_      )


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     print(sum_of_harmonic_progression(1 / 2, 2, 2))

