python寻找list中最大值、最小值并返回其所在位置时间:2025-01-26 16:47:00c = [-10,-5,0,5,3,10,15,-20,25] print (min(c)) # 返回最小值 print (max(c)) # 返回最大值 原文地址:/