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

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

Selecciona la respuesta correcta

¿Todo estuvo claro?

Sección 3. Capítulo 8
course content

Contenido del Curso

NumPy in a Nutshell

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

Selecciona la respuesta correcta

¿Todo estuvo claro?

Sección 3. Capítulo 8
some-alt