import numpy as np, Import a NumPy library and assign the name"np" ., numpy .array([list]), Create NumPy array from a list, np .arange(0 ,10 ,2), Create an array starting from 0 and ending at 10 with step = 2, array[[0,1,2]], Access elements of index 0, 1, 2, np .zeroes(N), Create an array of N number of zeroes, np .array[[1, 2],[3, 4]], Create a 2D array

Leaderboard

Visual style

Options

Switch template

Continue editing: ?