def find_second(target, sequence):
    """Used to return the second occurence of the target in the sequence"""

    if target not in sequence:
        return -1
    index = sequence.find(target)+1
    index2 = sequence.find(target, index)
    return index2