




from collections import defaultdict






def  snake_case(    __magic_name__			,		__magic_name__   )			->							bool:





     '''simple docstring'''


     lowercase :       str       =			first_str.lower().strip()
     lowercase :       Any       =			second_str.lower().strip()

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

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

     # Default values for count should be 0
     lowercase :       defaultdict[str, int]       =			defaultdict(__magic_name__   )

     # For each character in input strings,
     # increment count in the corresponding
     for i in range(len(__magic_name__   )   ):
          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()
 lowerCAmelCase_						=			input('Enter the first string ').strip()
 lowerCAmelCase_						=			input('Enter the second string ').strip()

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









from string import ascii_uppercase

lowerCAmelCase_						=			{char: i for i, char in enumerate(ascii_uppercase)}
lowerCAmelCase_						=			dict(enumerate(ascii_uppercase))






def  snake_case(    __magic_name__			,		__magic_name__   )			->							str:





     '''simple docstring'''


     lowercase :       Optional[Any]       =			len(__magic_name__   )
     lowercase :       Any       =			0
     while True:
          if x == i:
               lowercase :       Any       =			0
          if len(__magic_name__   ) == len(__magic_name__   ):
               break
          key += key[i]
          i += 1
     return key






def  snake_case(    __magic_name__			,		__magic_name__   )			->							str:





     '''simple docstring'''


     lowercase :       str       =			''''''
     lowercase :       Dict       =			0
     for letter in message:
          if letter == " ":
               cipher_text += " "
          else:
               lowercase :       Dict       =			(dicta[letter] - dicta[key_new[i]]) % 26
               i += 1
               cipher_text += dicta[x]
     return cipher_text






def  snake_case(    __magic_name__			,		__magic_name__   )			->							str:





     '''simple docstring'''


     lowercase :       Any       =			''''''
     lowercase :       str       =			0
     for letter in cipher_text:
          if letter == " ":
               or_txt += " "
          else:
               lowercase :       Any       =			(dicta[letter] + dicta[key_new[i]] + 26) % 26
               i += 1
               or_txt += dicta[x]
     return or_txt






def  snake_case(    )			->							None:





     '''simple docstring'''


     lowercase :       Dict       =			'''THE GERMAN ATTACK'''
     lowercase :       Dict       =			'''SECRET'''
     lowercase :       Union[str, Any]       =			generate_key(__magic_name__			,		__magic_name__   )
     lowercase :       List[str]       =			cipher_text(__magic_name__			,		__magic_name__   )
     print(F"""Encrypted Text = {s}"""   )
     print(F"""Original Text = {original_text(__magic_name__			,		__magic_name__   )}"""   )


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()