


"""simple docstring"""







import numpy as np
def _A		(		lowercase						):







    """simple docstring"""
    a											=np.exp(lowercase						)

    # Add up the all the exponentials
    a											=np.sum(lowercase						)

    # Divide every exponent by the sum of all exponents
    a											=exponent_vector / sum_of_exponents

    return softmax_vector


if __name__ == "__main__":
       print(softmax((0,)))



"""simple docstring"""







def _A		(		lowercase						):







    """simple docstring"""
    a											=[]
    a											=1

    for i in range(len(lowercase						)						):
        if i + 1 < len(lowercase						) and text[i] == text[i + 1]:
            count += 1
        else:
            encoded.append((text[i], count)						)
            a											=1

    return encoded
def _A		(		lowercase						):







    """simple docstring"""
    return "".join(char * length for char, length in encoded						)


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

       testmod(name="""run_length_encode""", verbose=True)
       testmod(name="""run_length_decode""", verbose=True)