Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Remove All Before by tokiojapan55
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
return items if not items.count(border) else items[items.index(border):]
June 22, 2020