
from __future__ import annotations

from math import pi




def 							__SCREAMING_SNAKE_CASE   (		SCREAMING_SNAKE_CASE       :      List[Any]    ,							SCREAMING_SNAKE_CASE       :      List[str]    ,							SCREAMING_SNAKE_CASE       :      Optional[Any]			)     ->						Any:





				if (inductance, frequency, reactance).count(0			) != 1:
								raise ValueError('One and only one argument must be 0'			)
				if inductance < 0:
								raise ValueError('Inductance cannot be negative'			)
				if frequency < 0:
								raise ValueError('Frequency cannot be negative'			)
				if reactance < 0:
								raise ValueError('Inductive reactance cannot be negative'			)
				if inductance == 0:
								return {"inductance": reactance / (2 * pi * frequency)}
				elif frequency == 0:
								return {"frequency": reactance / (2 * pi * inductance)}
				elif reactance == 0:
								return {"reactance": 2 * pi * frequency * inductance}
				else:
								raise ValueError('Exactly one argument must be 0'			)


if __name__ == "__main__":
							import doctest

							doctest.testmod()












"""simple docstring"""




def 						UpperCAmelCase__		(     _UpperCAmelCase					):






  """simple docstring"""





  if isinstance(_UpperCAmelCase ,					_UpperCAmelCase					):
    raise TypeError('\'float\' object cannot be interpreted as an integer'					)
  if isinstance(_UpperCAmelCase ,					_UpperCAmelCase					):
    raise TypeError('\'str\' object cannot be interpreted as an integer'					)

  if num == 0:
    return "0b0"

  A_  :       str										=  False

  if num < 0:
    A_  :       Dict										=  True
    A_  :       Union[str, Any]										=  -num

  A_  :       list[int]										=  []
  while num > 0:
    binary.insert(0 ,					num % 2					)
    num >>= 1

  if negative:
    return "-0b" + "".join(str(_UpperCAmelCase					) for e in binary					)

  return "0b" + "".join(str(_UpperCAmelCase					) for e in binary					)


if __name__ == "__main__":
   import doctest

   doctest.testmod()