Computer Science, asked by Brainstorm4218, 11 months ago

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 salilraj4254
7

Answer:

the output is

(10,12,16,20)

Answered by jassimahi8967
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