NumPy - Array Operations
What will be the output of the following code?
import numpy as np arr = np.array([1, 2, 3]) arr *= 2 print(arr)
import numpy as np arr = np.array([1, 2, 3]) arr *= 2 print(arr)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions