Part 1. Definition
In this task, you are given an input i,A where i is an integer and A is an array. You need to find every ith element of A starting with the 1st element.
Part 2. Example
3, ['a', '34', 'f', '931', '7', '3432', '13245', '762']
Answer: a, 931, 13245
Explanation: Here, every 3rd element from array are 'a', '931', and '13245'.
Part 3. Exercise
5, ['5023', 'k', 'H', '375', 'V', 'M', '2247', '7693', 'K', 'Y', 'J', '7869', '4663', '4299', 'U', '5295', 'I', 'K', '1093', '2279', 'c', '5047', '5563', '457', 'l', '145', 'g', '3179', 'O', '7303', 'e', 'P', '9047', '8321', '4445', '593', '535', 'w', 'Z', 'r', 'Y', 'w']
Answer:
5023, M, J, 5295, c, 145, e, 593, Y