文章浏览阅读1.7w次。c = [-10,-5,0,5,3,10,15,-20,25]print (c[3:6].index(min(c[3:6]))) # 返回最小值print (c.index(max(c[3:6]))) # 返回最大值In[44]: c = [-10,-5,0,5,3,10,15,-20,25]print (c[3:6].index(min(c[3:6]))) # 返回最小值print ..._python数组最小值与位置...
admin
友情链接申请要求: 不违法不降权 权重相当 请联系QQ:737597453