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 saklar13
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
try:
return items[items.index(border):]
except ValueError:
return items
Oct. 8, 2020