python get every nth element code example Example: get every nth element in list python start_from = 0 every_nth = 2 a_list[start_from::every_nth]