





"""simple docstring"""






A 			=  {
    '''a''': '''AAAAA''',
    '''b''': '''AAAAB''',
    '''c''': '''AAABA''',
    '''d''': '''AAABB''',
    '''e''': '''AABAA''',
    '''f''': '''AABAB''',
    '''g''': '''AABBA''',
    '''h''': '''AABBB''',
    '''i''': '''ABAAA''',
    '''j''': '''BBBAA''',
    '''k''': '''ABAAB''',
    '''l''': '''ABABA''',
    '''m''': '''ABABB''',
    '''n''': '''ABBAA''',
    '''o''': '''ABBAB''',
    '''p''': '''ABBBA''',
    '''q''': '''ABBBB''',
    '''r''': '''BAAAA''',
    '''s''': '''BAAAB''',
    '''t''': '''BAABA''',
    '''u''': '''BAABB''',
    '''v''': '''BBBAB''',
    '''w''': '''BABAA''',
    '''x''': '''BABAB''',
    '''y''': '''BABBA''',
    '''z''': '''BABBB''',
    ''' ''': ''' ''',
}


A 			=  {value: key for key, value in encode_dict.items()}

def     __A      (			a_						:str)		->		str:
				__a :						Tuple			       =  ''''''
				for letter in word.lower():
								if letter.isalpha() or letter == " ":
												encoded += encode_dict[letter]
								else:
												raise Exception('''encode() accepts only letters of the alphabet and spaces''')
				return encoded

def     __A      (			a_						:str)		->		str:
				if set(a_) - {"A", "B", " "} != set():
								raise Exception('''decode() accepts only \'A\', \'B\' and spaces''')
				__a :						Optional[int]			       =  ''''''
				for word in coded.split():
								while len(a_) != 0:
												decoded += decode_dict[word[:5]]
												__a :						Union[str, Any]			       =  word[5:]
								decoded += " "
				return decoded.strip()


if __name__ == "__main__":
		from doctest import testmod

		testmod()






"""simple docstring"""






def     __A      (			a_						:int   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float(moles / volume) * nfactor)

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((moles * 0.0_8_2_1 * temperature) / (volume)))

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((moles * 0.0_8_2_1 * temperature) / (pressure)))

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float)		->		float:
				return round(float((pressure * volume) / (0.0_8_2_1 * moles)))


if __name__ == "__main__":
		import doctest

		doctest.testmod()