A

Admin • 831.35K Points
Coach

Q. What is the output type of np.array([1, 2, 3])?

  • (A) list
  • (B) ndarray
  • (C) tuple
  • (D) dict
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin
np.array() returns an ndarray (n-dimensional array) object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.