



from __future__ import annotations

from cmath import sqrt
def 	snake_case__       (					__lowercase							,     __lowercase							,     __lowercase       )		->		tuple[complex, complex]:







						"""simple docstring"""

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

						A__	:							Any						    = (-b + sqrt(__lowercase       )) / (2 * a)
						A__	:							str						    = (-b - sqrt(__lowercase       )) / (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 	snake_case__       (					)		->		Any:







						"""simple docstring"""

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


if __name__ == "__main__":
				main()




def 	snake_case__       (					__lowercase							,     __lowercase							,     __lowercase = 0							,     __lowercase = 0       )		->		int:







						"""simple docstring"""

						A__	:							Tuple						    = right or len(__lowercase       ) - 1
						if left > right:
												return -1
						elif list_data[left] == key:
												return left
						elif list_data[right] == key:
												return right
						else:
												return search(__lowercase							,     __lowercase							,     left + 1							,     right - 1       )


if __name__ == "__main__":
		import doctest

		doctest.testmod()