Duplicate a list n times

Hi all,

I’m a beginner at this so excuse the basic question.

I’m sure there is a very simple solution to this problem, but I have spent hours trying to find it to no avail!

I am simply trying to replicate an input list n times (where n varies) into a single list.

Lists

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I can obviously create what I want using List.Create if I manually input the count (n), but I want it to vary.

 

cheers

S

like this ?

 

Hi Andrew,

 

You put me on the right path! That was almost what I wanted, but using list chop I could get there.

 

 

 

 

 

 

 

 

 

 

 

 

 

Cheers!

S

“List.OfRepeatedItem” might be a better fit for you:

2016-04-21_14-37-48

Even better - thanks Dimitar! Think I looked through and tried every node except that one :confused: Exactly what I needed.