Part 1. Definition
In this task, you are given inputs k, i, and A, where k and i are integers and A is a list. You need to find every ith element of A starting from the kth element. The process stops when the position of the next ith element exceeds the length of the list.
Part 2. Example
2, 3, ['a', '34', 'f', '931', '7', '3432', '13245', '762']
Answer: 34, 7, 762
Explanation: Here, starting from 2nd element every 3rd element from the list are '34', '7', and '762'.
Part 3. Exercise
2, 1, ['l', 'k', 'R', 'x', '9159', 'O', '8011', '6993', '2975', 'a', 'Z', 'C', '1491', '2017', '3157', '8699', 'M', 'e', 'o', '7947', '2461']
Answer:
k, R, x, 9159, O, 8011, 6993, 2975, a, Z, C, 1491, 2017, 3157, 8699, M, e, o, 7947, 2461