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