Computers and Technology

What is the result of z in the following code?
import numpy as np
x = np. array([[1, 2, 3], [1, 2, 3]])
y = np. array([[1, 1, 1], [1, 2, 3]])
z = x - y (points : 1) array([[1, 2, 3],
[1, 2, 3],
[1, 1, 1],
[1, 2, 3]])
array([[0, 1, 2], [0, 0, 0]])
array([[0, 0, 0], [0, 1, 2]])
a 2-by-3 numpy array with only zeros.

answer
Answers: 1

Similar questions

Do you know the correct answer?
What is the result of z in the following code?
import numpy as np
x = np. array([[1, 2,...

Questions in other subjects:

Konu
Chemistry, 28.01.2021 06:30
Konu
Mathematics, 28.01.2021 06:30
Konu
Mathematics, 28.01.2021 06:30
Konu
Mathematics, 28.01.2021 06:30