I have list
my_list= [33,29,33,87,83,138,141,145,191,191,191]
Now i have another list
split_list = [2,4,7]
Now I need to separate my_list values by using the values in split_list as my position value of my_list,
in this link they have grouped the list in with 4 elements in each list using scala, like wise i want to use the number in split_list as grouping factor
like this
answer_list = [(33,29,33),(87,83),(138,141,145),(191,191,191)]