def iconv(idata, input):
    """
    compare idata and input, if it is the same return 1, if not return 0
    :param idata: (char1) char1 input
    :param input: (char1) char1 input
    :return: returns a 1 if the values are the same or a 0 if they are not the same
    """
    ret = 0
    if idata == input:
        ret = 1

    return int(ret)