Say we have a list of integers from 0 to 1000:
[0, 1, 2, 3, ..., 997, 998, 999]
How do I get a new list containing the first and every subsequent 10th item?
[0, 10, 20, 30, ..., 990]
I can do this using a for loop, but is there a neater way, perhaps even in one line of code?