What will the following code result in ? import numpy as np A = np.array([12,…

PYQ EMRS TGT/PGT (ESSE) 2023

What will the following code result in ?

import numpy as np

A = np.array([12, 23])

B = np.array([10, 20])

print(A-B)

  1. A.

    [-2 -3]

  2. B.

    [12 23] [10 20]

  3. C.

    [10 20] [12 23]

  4. D.

    [2 3]

Attempted by 1719 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…