What will be output for the following code? import numpy as np a = np.array([1, 2, 3], dtype = complex) print (a) A. [[ 1.+0.j, 2.+0.j, 3.+0.j]] B. [ 1.+0.j] C. [ 1.+0.j, 2.+0.j, 3.+0.j] D. Error code example
Example: how to import numpy array in python
>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])