



"""simple docstring"""






from scipy.constants import g






def 	snake_case__  (						__lowerCamelCase							:       float				,						__lowerCamelCase							:       float      ):
			"""simple docstring"""
			if mass < 0:
						# handling of negative values of mass
						raise ValueError('''The mass of a body cannot be negative'''      )
			if height < 0:
						# handling of negative values of height
						raise ValueError('''The height above the ground cannot be negative'''      )
			return mass * g * height


if __name__ == "__main__":
		from doctest import testmod

		testmod(name="potential_energy")









"""simple docstring"""






def 	snake_case__  (						__lowerCamelCase							:       Union[str, Any]      ):
			"""simple docstring"""
			lowerCamelCase__						:						Dict						      =len(__lowerCamelCase      )
			for i in range(length - 1      ):
						lowerCamelCase__						:						Any						      =False
						for j in range(length - 1 - i      ):
									if collection[j] > collection[j + 1]:
												lowerCamelCase__						:						List[str]						      =True
												lowerCamelCase__      ,  lowerCamelCase__						:						List[str]						      =collection[j + 1], collection[j]
						if not swapped:
									break  # Stop iteration if the collection is sorted.
			return collection


if __name__ == "__main__":
		import doctest
		import time

		doctest.testmod()

		_lowercase					:					str 		=		input("Enter numbers separated by a comma:").strip()
		_lowercase					:					Dict 		=		[int(item) for item in user_input.split(",")]
		_lowercase					:					Optional[Any] 		=		time.process_time()
		print(*bubble_sort(unsorted), sep=",")
		print(f'Processing time: {(time.process_time() - start)%1E9 + 7}')




