📌  相关文章
📜  数组python代码示例的最大值和最小值

📅  最后修改于: 2022-03-11 14:46:38.403000             🧑  作者: Mango

代码示例1
list1 = [2,8,1,2,7,12,10]
min_val = min(list1)  #Finds the minimum value using the built-in python function
max_val = max(list1)  #Finds the maximum value using the built-in python function