


from collections import defaultdict
def 				UpperCAmelCase_					(							__snake_case     ,						__snake_case						)     ->			bool:







 """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(_UpperCamelCase						) != len(_UpperCamelCase						):
  return False

 # Default values for count should be 0
 _lowercase							      =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__   	=							input('''Enter the first string ''').strip()
  UpperCAmelCase__   	=							input('''Enter the second string ''').strip()

  UpperCAmelCase__   	=							check_anagrams(input_a, input_b)
  print(f'''{input_a} and {input_b} are {'' if status else 'not '}anagrams.''')




'''simple docstring'''
lowerCamelCase :      Any					 =     "\n# Transformers installation\n! pip install transformers datasets\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/transformers.git\n"

lowerCamelCase :      int					 =     [{"type": "code", "content": INSTALL_CONTENT}]
lowerCamelCase :      str					 =     {
    "{processor_class}": "FakeProcessorClass",
    "{model_class}": "FakeModelClass",
    "{object_class}": "FakeObjectClass",
}
