Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Match the Indices | Indexing and Slicing
NumPy in a Nutshell

book
Match the Indices

question-icon

You have the following one-dimensional array: arr = np.array([3, 2, 25, 54, 9, -10, 36, 13]). Match the indices with the elements they access.

arr[-2] -
___

arr[-5] -
___

arr[-3] -
___

arr[-7] -
___

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

dots
54
dots
-10
dots
2
dots
36

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 6

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt