How to get list index

I am trying to retrieve the index number of items in a list. For example, if I have a list of letters A through D, I want a resulting list that gives numbers 0 through 3 (since Dynamo is zero-index based). How can I achieve such a list based on another list?

You could use some very simple code:

Index Count

1 Like

Excellent! Iā€™m still learning simple code techniques. Much appreciated!

1 Like

Actually, I just thought of an even simpler way using nodes:

Index Of

1 Like