What is the output of the following? import numpy as np A = np.array([[2, 3],…

PYQ EMRS TGT/PGT (ESSE) 2023

What is the output of the following?
import numpy as np A = np.array([[2, 3], [10, 20]]) print(A + 1)

  1. A.

    [[3 4]

    [10 20]]

  2. B.

    [[3 4]

    [11 21]]

  3. C.

    [[2 3]
    [11 21]]

  4. D.

    [[3 3]

    [11 20]]

Attempted by 1522 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…