






def 				snake_case__							(							UpperCAmelCase							:  Optional[Any]       ):
    return "".join([hex(_snake_case       )[2:].zfill(2       ).upper() for byte in list(_snake_case       )]       )


def 				snake_case__							(							UpperCAmelCase							:  Dict       ):






    if (len(_snake_case       ) % 2) != 0:
        raise ValueError(
            "Base16 encoded data is invalid:\nData does not have an even number of hex digits."       )
    # Check the character set - the standard base16 alphabet
    # is uppercase according to RFC3548 section 6
    if not set(_snake_case       ) <= set("0123456789ABCDEF"       ):
        raise ValueError(
            "Base16 encoded data is invalid:\nData is not uppercase hex or it contains invalid characters."       )
    # For every two hexadecimal digits (= a byte), turn it into an integer.
    # Then, string the result together into bytes, and return it.
    return bytes(int(data[i] + data[i + 1]    ,			1_6       ) for i in range(0    ,			len(_snake_case       )    ,			2       )       )


if __name__ == "__main__":
 import doctest

 doctest.testmod()









def 				snake_case__							(							UpperCAmelCase							:  float       ):

    if edge <= 0 or not isinstance(UpperCAmelCase    ,			UpperCAmelCase       ):
        raise ValueError("Length must be a positive."       )
    return 3 * ((2_5 + 1_0 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)


def 				snake_case__							(							UpperCAmelCase							:  float       ):

    if edge <= 0 or not isinstance(UpperCAmelCase    ,			UpperCAmelCase       ):
        raise ValueError("Length must be a positive."       )
    return ((1_5 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
 import doctest

 doctest.testmod()



