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

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

dots
8
dots
48
dots
-2
dots
11

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 2

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

some-alt