Python program to compute the power by Index element in List
Given a list, the task is to write a Python program to compute the power of each element by its index value. Input : test_list = [6, 9, 1, 8, 4, 7]Output : [1, 9, 1, 512, 256, 16807]Explanation : 8 * 8 * 8 = 512, as 8 is at 3rd index. Input : test_list = [6, 9, 1, 8]Output : [1, 9, 1, 512]Explanatio