Updating elements of a list by action

In the calculator, why is it not possible to modify an element in a list through an action?

The following example is simply to illustrate my question, and it can easily be achieved in another way. But I’m interested in a different situation where I need to modify list elements by action, with each element modified separately rather than all at once.
L=1 for i=[1…5]
L[j] → L[j] * j

You can do it like this for example:


This does exactly what I wanted. Thanks!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.