Create a new list with every third element of a given list.
some_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
other_list = some_list[2::3] other_list
[3, 6, 9]
Starting with the 0th element:
[x for i, x in enumerate(some_list) if i%3 == 0]
[1, 4, 7]