



'''simple docstring'''

from __future__ import annotations

from cmath import sqrt



def 					__lowerCamelCase					(				lowerCAmelCase_						,      lowerCAmelCase_						,      lowerCAmelCase_  )      ->				tuple[complex, complex]:

		if a == 0:
				raise ValueError('Coefficient \'a\' must not be zero.'  )
		_a					:				str				=							b * b - 4 * a * c

		_a					:				int				=							(-b + sqrt(a__  )) / (2 * a)
		_a					:				str				=							(-b - sqrt(a__  )) / (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 					__lowerCamelCase					(				)      ->				List[Any]:
		_a	, _a					:				List[Any]				=							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

import os
from typing import Any

import requests

__lowerCAmelCase						      =       '''https://api.github.com'''

# https://docs.github.com/en/free-pro-team@latest/rest/reference/users#get-the-authenticated-user
__lowerCAmelCase						      =       BASE_URL + '''/user'''

# https://github.com/settings/tokens
__lowerCAmelCase						      =       os.environ.get('''USER_TOKEN''', '''''')



def 					__lowerCamelCase					(				lowerCAmelCase_  )      ->				dict[Any, Any]:
		_a					:				Union[str, Any]				=							{
		    'Authorization': f"""token {auth_token}""",
		    'Accept': 'application/vnd.github.v3+json',
		}
		return requests.get(lowerCAmelCase_						,      headers=lowerCAmelCase_  ).json()


if __name__ == "__main__":  # pragma: no cover
							if USER_TOKEN:
														for key, value in fetch_github_info(USER_TOKEN).items():
																					print(f"""{key}: {value}""")
							else:
														raise ValueError('''\'USER_TOKEN\' field cannot be empty.''')




