Fill sublists with one single value

Hello! I have a problem where I have a list of empty sublists of varying length. I would like to fill each sublist with one single value from another list of the same lenght.

I have been able to assign the first value of each sublist with the corresponding value but have since been stuck. I have explored the option of using python code but have not managed to get it working with varying list lenghts.

Help would be much appreciated! :slight_smile:

Hi, Viktor.

You can count the length list. and repeat the value list x times
see my sample below:

2 Likes

Oh, nice :slight_smile: Thank you very much!!

1 Like