

from collections import defaultdict







def       A_				(   _UpperCAmelCase    ,     _UpperCAmelCase   ):
						SCREAMING_SNAKE_CASE_:			Optional[int]  		=	first_str.lower().strip()
						SCREAMING_SNAKE_CASE_:			Union[str, Any]  		=	second_str.lower().strip()

						# Remove whitespace
						SCREAMING_SNAKE_CASE_:			List[Any]  		=	first_str.replace(" "    ,     ""   )
						SCREAMING_SNAKE_CASE_:			Optional[int]  		=	second_str.replace(" "    ,     ""   )

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

						# Default values for count should be 0
						SCREAMING_SNAKE_CASE_:			defaultdict[str, int]  		=	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()
						lowerCAmelCase							:  List[str]            =						input("""Enter the first string """).strip()
						lowerCAmelCase							:  Tuple            =						input("""Enter the second string """).strip()

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









def       A_				(   _UpperCAmelCase    ,     _UpperCAmelCase   ):

						if density <= 0:
												raise ValueError("Impossible fluid density"   )
						if bulk_modulus <= 0:
												raise ValueError("Impossible bulk modulus"   )

						return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
						import doctest

						doctest.testmod()






