Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple 1-liner using index() solution in Clear category for Remove All Before by thealfest1
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
return items[items.index(border) if border in items else None:]
March 2, 2020