Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Get One Dimensional Array Using Only Negative Indexes | Indexing and Slicing
NumPy in a Nutshell
course content

Kursinhalt

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
Get One Dimensional Array Using Only Negative Indexes

You have the following array: `arr = [54, 23, 1, 76, 8, 45, 10, 3]`. Your task is to obtain an array `[76, 8, 45]` using array slicing. However, you should only use negative indices.

You have the following array: arr = [54, 23, 1, 76, 8, 45, 10, 3]. Your task is to obtain an array [76, 8, 45] using array slicing. However, you should only use negative indices.

Wählen Sie die richtige Antwort aus

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 8
We're sorry to hear that something went wrong. What happened?
some-alt