Computer Science, asked by suyashdubey4922, 1 month ago

Given Numpy Array ar=np.array([2, 4, 6, 8, 10, 12, 14, 16]) print(ar[2:7:2] the output will be:

Answers

Answered by Akhilan30806
0

Answer:

[ 6 10 14]

Explanation:

because you gave first 2 [ which means start from third element]

them 7[which means end with sixth element]

and 2[which means skip 2 elements]

Similar questions