Turtle, Observer, Patch

setitem setitem list newvalue

Parameters:
setitem Integer position in the list
list List list of items
newvalue Anything item to be inserted into the list

Description:
Sets the item at position setitem in list list to newvalue.

Examples:
setitem 2 [1 3 3 4] 5 changes the list to [1 5 3 4].

Related Commands:
item member? position remove remove-element