



def 			A_      (	__a     :				list ,		__a     :				int = 0		):

				"""simple docstring"""
				a__				      =		length or len(__a		)
				a__				      =		False
				for i in range(length - 1		):
								if list_data[i] > list_data[i + 1]:
												a__      ,			a__				      =		list_data[i + 1], list_data[i]
												a__				      =		True

				return list_data if not swapped else bubble_sort(__a ,		length - 1		)


if __name__ == "__main__":
	import doctest

	doctest.testmod()






from __future__ import annotations

UpperCAmelCase							 =					8.988E9  # units = N * m^s * C^-2

def 			A_      (	__a     :				float ,		__a     :				float ,		__a     :				float ,		__a     :				float		):

				"""simple docstring"""
				a__				      =		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:
								a__				      =		COULOMBS_CONSTANT * charge_product / (distance**2)
								return {"force": force}
				elif chargea == 0:
								a__				      =		abs(__a		) * (distance**2) / (COULOMBS_CONSTANT * chargea)
								return {"charge1": chargea}
				elif chargea == 0:
								a__				      =		abs(__a		) * (distance**2) / (COULOMBS_CONSTANT * chargea)
								return {"charge2": chargea}
				elif distance == 0:
								a__				      =		(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()

