Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn 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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 8

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Ask me questions about this topic

Summarize this chapter

Show real-world examples

Awesome!

Completion rate improved to 4.76

bookGet One Dimensional Array Using Only Negative Indexes

Swipe to show menu

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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 8
some-alt