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