What will be the output of the following Python code? import numpy as np B =…
PYQ KVS TGT/PGT 2023
What will be the output of the following Python code?
import numpy as np
B = np.array([20, 50, 80, 30])
print(B, B.size, B.shape)- A.
(20, 50, 80, 30) 4, (4,)
- B.
[20 50 80 30] 4 (4,)
- C.
(20, 50, 80, 30) (4,) 4
- D.
[20, 50, 80, 30] (4,) 4
Attempted by 1033 students.
Sign up free to check your answer
Sign up freeLoading lesson…

