def remove(source: list, els=None):
    """
    Remove elements.

    :param list source: Source list
    :param els: Element(s) to be removed
    :return: list
    """
    r = []
    if els is None:
        els = ['', None]
    elif not isinstance(els, list):
        els = [els]
    for el in source:
        if el not in els:
            r.append(el)
    return r
