X
X
XWR2021-10-25 17:18:03
Python
XWR, 2021-10-25 17:18:03

How to remove elements from a list that precede a certain one?

There is a list: How to delete everything before "From"? To make it work

A = ["a", "5", " good ", "From", "going"]



A = ["From", "going"]

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question