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

Cursusinhoud

NumPy in a Nutshell

NumPy in a Nutshell

1. Getting Started with NumPy
2. Dimensions in Arrays
3. Indexing and Slicing
4. Important Functions

book
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] =

Click or drag`n`drop items and fill in the blanks

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 2
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt