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
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
Hindi,
25 days ago
Social Sciences,
25 days ago
English,
25 days ago
Geography,
1 month ago
Math,
1 month ago
English,
9 months ago
Computer Science,
9 months ago
History,
9 months ago