Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Match Math Operations | Indexing and Slicing
NumPy in a Nutshell

book
Match Math Operations

question-icon

You have the following one-dimensional array: arr = np.array([3, 5, 6, 8, 0]). Match the output with the corresponding math operations on the array elements.

arr[0] - arr[1] =
___

arr[2] * arr[3] =
___

arr[2] + arr[1] =
___

arr[3] - arr[4] =
___

Click or drag`n`drop items and fill in the blanks

dots
48
dots
-2
dots
11
dots
8

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 2

Demandez à l'IA

expand
ChatGPT

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

some-alt