Create a function in Python to remove the given element from any list if it is present.
Not applicable
def remove_item(lst, item):
    try:
        lst.remove(item)
        return lst

    except ValueError:
        return lst