return smallest item in iterable array in r code example Example: min in a list python li=[0,70,7,89] min(li) #gives the min value 0