0
import numpy as np a=np.array([10,20,30,40,50,60,70,80,90]) print(a,[-1:-3])
Need answers
5 Answers
+ 1
T B G Gaming You're Welcome đ
+ 3
Dont put comma after 'a' in the second line... Answer will be: []
a[-3:-1] will give [70 80]
+ 2
If you put a[-1:-3:-1] then you will get
[90 80]
+ 1
How bro how answer is empty [ ]
+ 1
Thanks bro now I'll got it