Create an ndarray

A few functions

What's the difference between [], (), and {}?

[] enclose a list; and [] are for indexing into a sequence (string, tuple, list) or array, e.g. price[2]

() enclose a tuple; and () enclose the arguments to a function, e.g. np.sort(price)

We have used {} only in a print(f'...') statement to say, "give the value of the enclosed variable," e.g print(f'x={x}')

Operators (which act element-wise)

Indexing

Loop through values or indices, as with sequences

File input/output