Python - Find Kth Even Element
Given a List, extract Kth occurrence of Even Element. Input : test_list = [4, 6, 2, 3, 8, 9, 10, 11], K = 3 Output : 8 Explanation : K = 3, i.e 0 based index, 4, 6, 2 and 4th is 8. Input : test_list = [4, 6, 2, 3, 8, 9, 10, 11], K = 2 Output : 2 Explanation : K = 2, i.e 0 based index, 4, 6, and 3rd