def rmFromList(lst, thing=''):
    """Removes all values matching thing from a list"""
    lst = list(lst)
    for i in range(len(lst)-1, -1, -1):
        if lst[i] == thing:
            del lst[i]
    return lst