



"""simple docstring"""






from __future__ import annotations

lowerCAmelCase__      =    8.9_8_8E9  # units = N * m^s * C^-2






def 	snake_case_  (				A_ :		float,    A_ :		float,    A_ :		float,    A_ :		float						):


       '''simple docstring'''





       _lowerCamelCase						:    List[str]         =			abs(chargea * chargea						)

       if (force, chargea, chargea, distance).count(0						) != 1:
              raise ValueError('''One and only one argument must be 0'''						)
       if distance < 0:
              raise ValueError('''Distance cannot be negative'''						)
       if force == 0:
              _lowerCamelCase						:    str         =			COULOMBS_CONSTANT * charge_product / (distance**2)
              return {"force": force}
       elif chargea == 0:
              _lowerCamelCase						:    Any         =			abs(A_						) * (distance**2) / (COULOMBS_CONSTANT * chargea)
              return {"charge1": chargea}
       elif chargea == 0:
              _lowerCamelCase						:    Tuple         =			abs(A_						) * (distance**2) / (COULOMBS_CONSTANT * chargea)
              return {"charge2": chargea}
       elif distance == 0:
              _lowerCamelCase						:    Dict         =			(COULOMBS_CONSTANT * charge_product / abs(A_						)) ** 0.5
              return {"distance": distance}
       raise ValueError('''Exactly one argument must be 0'''						)


if __name__ == "__main__":
   import doctest

   doctest.testmod()







"""simple docstring"""






from maths.prime_factors import prime_factors






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





       if not isinstance(A_,    A_						):
              _lowerCamelCase						:    str         =			F'''Input value of [number={number}] must be an integer'''
              raise TypeError(A_						)
       if number < 1:
              raise ValueError('''Input must be a positive integer'''						)
       return -1 if len(prime_factors(A_						)						) % 2 else 1


if __name__ == "__main__":
   import doctest

   doctest.testmod()


