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

bookGet One Dimensional Array Using Only Negative Indexes

question mark

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.

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 8

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 4.76

bookGet One Dimensional Array Using Only Negative Indexes

Stryg for at vise menuen

question mark

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.

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 8
some-alt