Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Index solution in Clear category for Remove All Before by Tinus_Trotyl
from typing import Iterable
def remove_all_before(items: list, border: int) -> Iterable:
return items[items.index(border):] if border in items else items
Feb. 13, 2021