def int_to_hex(i: int) -> str:
    """
    Convert the input integer (0-255) to a two digit hexadecimal string.

    :param i: integer between 0-255
    :return: the two digit hexadecimal representation of the input integer

    Example:
    >>> int_to_hex(10)
    '0A'
    """
    return f"{i:02X}"