Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First Remove all after solution in Clear category for Remove All After by Wakko_Warner
from typing import Iterable
def remove_all_after(items: list, border: int) -> Iterable:
return items[:items.index(border)+1] if border in items else items
Dec. 3, 2020
Comments: