Incorrect array initialization
If you pass the following list [1, (2, 3), 4]
to initialize a NumPy array, what would be the data type of the stored values?
The module numpy
is already imported for you as np
.
Cet exercice fait partie du cours
Practicing Coding Interview Questions in Python
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
