📅  最后修改于: 2022-03-11 14:46:38.403000             🧑  作者: Mango
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