






"""simple docstring"""



from collections import defaultdict
def 						_SCREAMING_SNAKE_CASE (    __snake_case			:  List[str]		,					__snake_case			:  Union[str, Any]    ):





  '''simple docstring'''





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

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

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

  # Default values for count should be 0
  lowercase							    =       defaultdict(SCREAMING_SNAKE_CASE_    )

  # For each character in input strings,
  # increment count in the corresponding
  for i in range(len(SCREAMING_SNAKE_CASE_    )    ):
    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		:  Union[str, Any]						=		input('Enter the second string ').strip()

    _UpperCamelCase		:  List[Any]						=		check_anagrams(input_a, input_b)
    print(F'''{input_a} and {input_b} are {'' if status else 'not '}anagrams.''')






import argparse


_snake_case             =     '''docs/source/_static/js/custom.js'''






def 		lowercase_(  SCREAMING_SNAKE_CASE_	):


  '''simple docstring'''

  with open(SCREAMING_SNAKE_CASE_      ,						encoding="utf-8"      ,						newline="\n"	) as f:
    lowerCamelCase :					List[str]    =				f.readlines()
  lowerCamelCase :					int    =				0

  # First let's put the right version
  while not lines[index].startswith("const stableVersion ="	):
    index += 1
  lowerCamelCase :					str    =				f"""const stableVersion = \"v{version}\"\n"""

  # Then update the dictionary
  while not lines[index].startswith("const versionMapping = {"	):
    index += 1

  # We go until the end
  while not lines[index].startswith("}"	):
    index += 1
  # We add the new version at the end
  lines[index - 1] += f"""    \"v{version}\": \"v{version}\",\n"""

  with open(SCREAMING_SNAKE_CASE_      ,						"w"      ,						encoding="utf-8"      ,						newline="\n"	) as f:
    f.writelines(SCREAMING_SNAKE_CASE_	)


if __name__ == "__main__":
   _snake_case             =     argparse.ArgumentParser()
   parser.add_argument('''--version''', help='''Release version.''')
   _snake_case             =     parser.parse_args()
   update_custom_js(args.version)



