What will be to output of the following slice on a
numpy array
import numpy as np
data =
np.array([[10,20,30,40],[5,15,25,35],[2,4,6,8]])
S1 = data[0:3:2,2:4]
print(s1)
Answers
Answered by
0
Answer:
the following error will come in this code
SyntaxError: invalid syntax
there is a syntax error in your code...
#hope it helps you
please mark brainliest
Similar questions