3 ms·
Yes, they are. My point was that when you enumerate collections in Python, it doesn't matter, because it's just `for x in xs: ...` - you don't actually see the
by int_19h 10y ago
Yes, they are. My point was that when you enumerate collections in Python, it doesn't matter, because it's just `for x in xs: ...` - you don't actually see the indices. This is in response to "much more common to run through every element" in the parent comment - it's just not a relevant scenario for indexing in most languages today.
But slices definitely are, yes.