Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我想请问一下就我要创一个数组,然后通过数组的中任意一个值得到该数字在该数组中的索引值应该咋弄 我看IDE好像不支持numpy
>>> a = [1,2,3,4,5] >>> a.index(1) 0 >>> a.index(3) 2 >>>