"""simple docstring"""



from __future__ import annotations

from cmath import sqrt

def  _A(		lowerCAmelCase			,  lowerCAmelCase			,  lowerCAmelCase							):

							if a == 0:
														raise ValueError("""Coefficient 'a' must not be zero."""							)
							A__       :     Any								=			b * b - 4 * a * c

							A__       :     List[str]								=			(-b + sqrt(lowerCAmelCase							)) / (2 * a)
							A__       :     Union[str, Any]								=			(-b - sqrt(lowerCAmelCase							)) / (2 * a)

							return (
							    root_a.real if not root_a.imag else root_a,
							    root_a.real if not root_a.imag else root_a,
							)

def  _A(		):
							A__				,							A__       :     str								=			quadratic_roots(a=5			,  b=6			,  c=1							)
							print(F'''The solutions are: {solutiona} and {solutiona}'''							)


if __name__ == "__main__":
				main()






"""simple docstring"""



from __future__ import annotations

def  _A(		lowerCAmelCase							):
							if len(lowerCAmelCase							) == 0:
														return []
							A__				,							A__       :     Dict								=			min(lowerCAmelCase							), max(lowerCAmelCase							)
							A__       :     List[Any]								=			int(max_value - min_value							) + 1
							A__       :     list[list]								=			[[] for _ in range(lowerCAmelCase							)]

							for i in my_list:
														buckets[int(i - min_value							)].append(lowerCAmelCase							)

							return [v for bucket in buckets for v in sorted(lowerCAmelCase							)]


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

				testmod()
				assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
				assert bucket_sort([0, 1, -10, 15, 2, -2]) == [-10, -2, 0, 1, 2, 15]





