The <puti> block is used to assign an element to a specific index in a list; it is equivalent to the following Python code: list[index] = elem
See the Python documentation for more details.
•« list » : This is the list in which you want to modify an element; the default value is an empty list.
•« index » : The index in the list pointing to the element to be modified.
•« elem » : The element to be assigned to the “index” in the “list”.
•« list » : the modified list,
The “list” input and output are of type list
The “index” input is of type int
Note that after the block is executed, the two lists are identical.