def bitwise_xor(tup1, tup2):
    """ Gets two tuples with the same length, returns a tuple that stores the bitwise xor between the input tuples """
    xor_arr = []
    for k in range(len(tup1)):
        xor_arr.append(tup1[k] ^ tup2[k])
    return tuple(xor_arr)