Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Remove All Before by melitaele
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
try:
return items[items.index(border):]
except ValueError:
return items
April 23, 2021
Comments: