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 KirillovaV
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
items = items if border not in items else items[items.index(border):]
return items
Jan. 7, 2021
Comments: