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

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 8

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Awesome!

Completion rate improved to 4.76

bookGet One Dimensional Array Using Only Negative Indexes

Glissez pour afficher le 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

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 8
some-alt