Python Program to get indices of sign change in a list
Given List, the task is to write a python program that extracts all the indices from which sign shift occurred. Input : test_list = [7, 6, -3, -4, -7, 8, 3, -6, 7, 8]Output : [1, 4, 6, 7]Explanation : 6 -> -3, at 1st index, -7 -> 8 at 4th index and so on are shifts. Input : test_list = [7, 6,