


'''simple docstring'''






from collections import defaultdict





def      UpperCAmelCase      (		lowerCamelCase_  :str				,      lowerCamelCase_  :str ):







		'''simple docstring'''
		snake_case_		:							Tuple			       =						first_str.lower().strip()
		snake_case_		:							Dict			       =						second_str.lower().strip()

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

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

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

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

							__A	:	int     =     check_anagrams(input_a, input_b)
							print(F'{input_a} and {input_b} are {"" if status else "not "}anagrams.')



'''simple docstring'''






import random
from typing import Any





def      UpperCAmelCase      (		lowerCamelCase_  :list ):







		'''simple docstring'''
		for _ in range(len(lowerCamelCase_ ) ):
				snake_case_		:							Union[str, Any]			       =						random.randint(0				,      len(lowerCamelCase_ ) - 1 )
				snake_case_		:							Any			       =						random.randint(0				,      len(lowerCamelCase_ ) - 1 )
				snake_case_       ,      snake_case_		:							List[str]			       =						data[b], data[a]
		return data


if __name__ == "__main__":
							__A	:	Optional[int]     =     [0, 1, 2, 3, 4, 5, 6, 7]
							__A	:	Optional[int]     =     ['python', 'says', 'hello', '!']
							print('Fisher-Yates Shuffle:')
							print('List', integers, strings)
							print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))