python find highest value in array code example Example: max in a list python li=[0,70,7,89] max(li) #gives the max value 89