Write the output of the following code :
import numpy as np array1=np.array([10,12,14,16,18,20,22]) array2=np.array([10,12,15,16,12,20,12]) a=(np.where(array1==array2)) print(array1[a])
Answers
Answered by
7
Answer:
the output is
(10,12,16,20)
Answered by
0
Answer:
Output code = [ 10,12,16,20 ]
Explanation:
The output for the given program is [ 10,12,16,20 ] the data produced by a computer is connected to as output.
This involves data provided at a software level , such as the outcome of thoughts or a physical level such as a written document .
Final answer = [ 10,12,16,20 ]
For more information visit :
https://brainly.in/textbook-solutions/q-output-following-program-import-numpy-np-d
https://brainly.in/question/27391618?msp_srt_exp=4
#SPJ3
Similar questions
India Languages,
5 months ago
Geography,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
History,
11 months ago