

from collections import defaultdict





def  __lowerCamelCase     (			UpperCamelCase__       ,							UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   first_str.lower().strip()
							snake_case_          =   second_str.lower().strip()

							# Remove whitespace
							snake_case_          =   first_str.replace(' '       ,							''				)
							snake_case_          =   second_str.replace(' '       ,							''				)

							# Strings of different lengths are not anagrams
							if len(UpperCamelCase__				) != len(UpperCamelCase__				):
														return False

							# Default values for count should be 0
							snake_case_          =   defaultdict(UpperCamelCase__				)

							# For each character in input strings,
							# increment count in the corresponding
							for i in range(len(UpperCamelCase__				)				):
														count[first_str[i]] += 1
														count[second_str[i]] -= 1

							return all(_count == 0 for _count in count.values()				)


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

					testmod()
					_UpperCAmelCase		:       Union[str, Any]      =	input("""Enter the first string """).strip()
					_UpperCAmelCase		:       List[str]      =	input("""Enter the second string """).strip()

					_UpperCAmelCase		:       str      =	check_anagrams(input_a, input_b)
					print(F'''{input_a} and {input_b} are {"" if status else "not "}anagrams.''')







from __future__ import annotations

import os
from typing import Any

import requests

_UpperCAmelCase		:       int						    =	"""https://api.github.com"""

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

# https://github.com/settings/tokens
_UpperCAmelCase		:       Optional[Any]						    =	os.environ.get("""USER_TOKEN""", """""")





def  __lowerCamelCase     (			UpperCamelCase__				):







							'''simple docstring'''






							snake_case_          =   {
							    'Authorization': F'''token {auth_token}''',
							    'Accept': 'application/vnd.github.v3+json',
							}
							return requests.get(UpperCamelCase__       ,							headers=UpperCamelCase__				).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.""")




