6.3.3 Creating a list with zeros
The
newList
makes a list of all zeros.
newList
takes
n
, a positive integer.
newList(
n
)
returns a list of
n
zeros.
Example
newList
(3)
⎡
⎣
0,0,0
⎤
⎦