Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Slice solution in Clear category for Remove All After by Adrian_Sanz_Wallace
def remove_all_after(items, border):
return items[:items.index(border) +1] if border in items else items
Oct. 2, 2021
Comments: