
"""simple docstring"""


def 					_lowerCamelCase(__UpperCamelCase )       ->				str:
	_lowerCAmelCase			=word.upper()
	_lowerCAmelCase			=0
	_lowerCAmelCase			={}
	_lowerCAmelCase			=[]

	for letter in word:
		if letter not in letter_nums:
			_lowerCAmelCase			=str(__UpperCamelCase )
			next_num += 1
		word_pattern.append(letter_nums[letter] )
	return ".".join(__UpperCamelCase )


if __name__ == "__main__":
			import pprint
			import time

			__A 		= time.time()
			with open('dictionary.txt') as in_file:
						__A 		= in_file.read().splitlines()

			__A 		= {}
			for word in word_list:
						__A 		= get_word_pattern(word)
						if pattern in all_patterns:
									all_patterns[pattern].append(word)
						else:
									__A 		= [word]

			with open('word_patterns.txt', 'w') as out_file:
						out_file.write(pprint.pformat(all_patterns))

			__A 		= round(time.time() - start_time, 2)
			print(F"""Done!  {len(all_patterns):,} word patterns found in {total_time} seconds.""")
			# Done!  9,581 word patterns found in 0.58 seconds.





"""simple docstring"""


def 					_lowerCamelCase(__UpperCamelCase					,				__UpperCamelCase					,				__UpperCamelCase )       ->				float:
	if mass < 0:
		raise ValueError("""The mass of the body cannot be negative""" )
	if radius <= 0:
		raise ValueError("""The radius is always a positive non zero integer""" )
	return (mass * (velocity) ** 2) / radius


if __name__ == "__main__":
			import doctest

			doctest.testmod(verbose=True)



