赞
踩
datalist = ["1", "2", "4", "3"] max1 = max(datalist) maxid = datalist.index(max1) print(maxid) #结果输出 2