how is this: (my solution)
def remove_all_before(list, border):
if border in list:
x = list.index(border)
return list[x:]
else:
print(list)
different to this: (actual answer)
def remove_all_before(items: list, border: int) -> Iterable:
if border in items:
return items[items.index(border):]
else:
return items
Created at: 2023/01/24 19:14; Updated at: 2023/01/24 19:20