Morning,
I have a list with 36 values and i like to complete it with zeros to get a list with 60 values.
Could you help me?
Regards.
Morning,
I have a list with 36 values and i like to complete it with zeros to get a list with 60 values.
Could you help me?
Regards.
@FRAN1972 List.Join
node as a start
Thanks a lot!
And if the index of the list changes in ever iteration?
Regards.
Hi @FRAN1972 ,
What Index do you mean exactly?
If you mean the 60 you could implement something like this to also account for multiple lists (with changing lengths)
PS: See the list level on the List.Count node, that is really important here. This is done to count the amount of items in the sublists instead of the top list.
I mean that the list could be 36 values and in the next iteration could be 10 ie. The vaule 60 is the same always.
Regards
I see, my post above works with one amount aswell, you could just replace the list/ the “Total” in the Code Block with a number.
Thanks so much.