def get_diff(throw, target):
    """
    Determines the difference between a throw and a target
    E.g. between '111344' and '111144'
    Here, the difference is 1, dice to keep is '11144', to remove is '3'
    """
    diff = 0
    remove = []
    keep = []
    for i, j in zip(throw, target):
        if i != j:
            diff += 1
            remove.append(i)
        else:
            keep.append(i)
    return diff, ''.join(keep), ''.join(remove)