Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Match Math Operations | Indexing and Slicing
NumPy in a Nutshell

Match Math Operations Match Math Operations

question-icon

You have the following one-dimensional array: arr = np.array([3, 5, 6, 8, 0]). Match the output with the corresponding math operations on the array elements.

arr[0] - arr[1] =
arr[2] * arr[3] =

arr[2] + arr[1] =

arr[3] - arr[4] =

Clique ou arraste solte itens e preencha os espaços

Tudo estava claro?

Seção 3. Capítulo 2
course content

Conteúdo do Curso

NumPy in a Nutshell

Match Math Operations Match Math Operations

question-icon

You have the following one-dimensional array: arr = np.array([3, 5, 6, 8, 0]). Match the output with the corresponding math operations on the array elements.

arr[0] - arr[1] =
arr[2] * arr[3] =

arr[2] + arr[1] =

arr[3] - arr[4] =

Clique ou arraste solte itens e preencha os espaços

Tudo estava claro?

Seção 3. Capítulo 2
some-alt