python 求列表中最大值最小值算法

list_example=[4,56,20,4,100,-40] count=len(list_example) min_num=float(list_example[0]) max_num=float(list_example[0]) for i in range (count): num=float(list_example[i]) if count==1: m
相关文章
相关标签/搜索