min ex with key python code example Example: min in a list python li=[0,70,7,89] min(li) #gives the min value 0