qingcheng奕  

2014年3月5日

摘要: counts = [98,12,3,4,1,4,9,3821]minNum = min(counts)#print minNumminNum_index = counts.index(minNum)#print minNum_index#找出列表中最小的2个元素def find_two_smallest(L): smallest = min(L) min_index = L.index(smallest) L.remove(smallest) smallest2 = min(L) min_index2 = L.index(smallest2) L.r... 阅读全文
posted @ 2014-03-05 20:41 qingcheng奕 阅读(227) 评论(0) 推荐(0)