List "reduction"

I’m studying the example here: https://forum.dynamobim.com/t/set-wall-compound-layers-function/4028/4?u=fablabolbia that basically requires element types to run a Python script.
The example is referred to walls.
By means of the following script I create several family types duplicates (using an existing wall type as starter element).
Immagine 7
The output (highlighted in red) is the previously mentioned list that I have to “convert” to a sequence of single elements types.
The method of @Nick_Boyts works !
Thank you again !
Anton