




_lowerCamelCase	:		int							       =   {
    """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""",
    """ """: """ """,
}


_lowerCamelCase	:		Union[str, Any]							       =   {value: key for key, value in encode_dict.items()}







def SCREAMING_SNAKE_CASE				(       lowercase_						)   ->       str:



       """simple docstring"""

       A__       =    ''''''
       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 SCREAMING_SNAKE_CASE				(       lowercase_						)   ->       str:



       """simple docstring"""

       if set(lowercase_						) - {"A", "B", " "} != set():
              raise Exception('''decode() accepts only \'A\', \'B\' and spaces'''						)
       A__       =    ''''''
       for word in coded.split():
              while len(lowercase_						) != 0:
                     decoded += decode_dict[word[:5]]
                     A__       =    word[5:]
              decoded += " "
       return decoded.strip()


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

  testmod()








from __future__ import annotations

import typing
from collections.abc import Iterable

import numpy as np

_lowerCamelCase	:		str							       =   typing.Union[Iterable[float], Iterable[int], np.ndarray]  # noqa: UP007
_lowerCamelCase	:		Tuple							       =   typing.Union[np.floataa, int, float]  # noqa: UP007







def SCREAMING_SNAKE_CASE				(       lowercase_ ,				lowercase_						)   ->       VectorOut:



       """simple docstring"""

       return np.sqrt(np.sum((np.asarray(lowercase_						) - np.asarray(lowercase_						)) ** 2						)						)







def SCREAMING_SNAKE_CASE				(       lowercase_ ,				lowercase_						)   ->       VectorOut:



       """simple docstring"""

       return sum((va - va) ** 2 for va, va in zip(lowercase_ ,				lowercase_						)						) ** (1 / 2)


if __name__ == "__main__":







  def SCREAMING_SNAKE_CASE				(       )   ->       None:



         """simple docstring"""

         from timeit import timeit

         print('''Without Numpy'''						)
         print(
             timeit(
                 '''euclidean_distance_no_np([1, 2, 3], [4, 5, 6])''' ,				number=10_000 ,				globals=globals() ,				)						)
         print('''With Numpy'''						)
         print(
             timeit(
                 '''euclidean_distance([1, 2, 3], [4, 5, 6])''' ,				number=10_000 ,				globals=globals() ,				)						)
  benchmark()


