Managing Lists


#1

Hey Everyone!
This probably a very simple problem but I somehow couldnt find a solution.

Here’s what I am trying achieve (lists are simplified for the sake of understandability):

I have two lists A{a,b} and X{x,y}

I wanna repeat element a from list A x times and only x times.
and repeat element b from list A y times and only y times.

right now it is repeating the whole list A first x times and then y times.

I hope I explained it clearly enough(please see a screenshot for reference).

Any suggestions, ideas, comments or directions to an article I should read?!


#2

Set lacing to longest


#3

thanks a lot!