Formula implemented by the block

I’m trying to list the elements in the list #out. You can understand my work in illustration below. Thanks for watching.

Maybe I had found the answer sooner than expected. If you are interested in the solution which I solved the problem. :smile:

2 Likes

@dangthanhnam01.kt199 Another way…

1 Like

I really like the way you handled the problem with the buttons available in the dynamo and I’m a design lover like your script. Thanks for the reply. :nụ cười:

1 Like

@Vikram_Subbaiah @dangthanhnam01.kt199 Here is another one :slight_smile:

2 Likes

perfect !

1 Like

1 Like

Math.Sum(List.GetItemAtIndex(a,0..(1..Count(a)-1)));

a;
b=[Imperative]
{
	c=0;
	d={};
	while (c<Count(a)-1)
	{
		d[c]=Math.Sum(a[0..(c+1)]);
		c=c+1;
	}
	return=d;
};
1 Like