Get startedGet started for free

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.

This exercise is part of the course

Practicing Coding Interview Questions in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise