

from collections import defaultdict



def    __UpperCAmelCase (	__a      :			str		,__a      :			str	)			->     bool:

					"""simple docstring"""

					_a	:    int         =		first_str.lower().strip()
					_a	:    int         =		second_str.lower().strip()

					# Remove whitespace
					_a	:    Any         =		first_str.replace(''' '''		,''''''	)
					_a	:    Union[str, Any]         =		second_str.replace(''' '''		,''''''	)

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

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

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

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






def    __UpperCAmelCase (	__a      :			float	)			->     float:

					"""simple docstring"""

					return 10 - x * x



def    __UpperCAmelCase (	__a      :			float		,__a      :			float	)			->     float:

					"""simple docstring"""

					if equation(__a	) * equation(__a	) >= 0:
										raise ValueError('''Wrong space!'''	)

					_a	:    Dict         =		a
					while (b - a) >= 0.01:
										# Find middle point
										_a	:    Any         =		(a + b) / 2
										# Check if middle point is root
										if equation(__a	) == 0.0:
															break
										# Decide the side to repeat the steps
										if equation(__a	) * equation(__a	) < 0:
															_a	:    str         =		c
										else:
															_a	:    Union[str, Any]         =		c
					return c


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			print(bisection(-2, 5))
			print(bisection(0, 6))



