Turtle, Observer, Patch

make-list integer element

Parameters:
integer Integer number of times the item will be in the list
element Anything the data that will be repeated in the list

Description:
Returns a list of length integer filled with element.

Examples:
make-list 5 0 returns [0 0 0 0 0]

Related Commands:
copy-list empty? length list sentence to-list