0

Let's say I have an arithmetic sequence: seq = [5, 7, 9, "x", 13, 15, "x", 19]

How do I get individual indexes of both the x's?

Note: I don't need the values of both x's, just the indexes.

  • 1
    Does this answer your question? [How to find all occurrences of an element in a list](https://stackoverflow.com/questions/6294179/how-to-find-all-occurrences-of-an-element-in-a-list) – MisterMiyagi Sep 21 '21 at 13:58

0 Answers0