One - One Code All

Blog Content

python寻找list中最大最小元素对应的索引

Python   2009-08-17 20:27:55
list.index(max(list))
list.index(min(list))



上一篇:python快速生成列表
下一篇:cat 显示指定行

The minute you think of giving up, think of the reason why you held on so long.