find the smallest number in list by comparison python code example
Example: find the smallest number in list by comparison python
def smallest_num_in_list( list ):
min = list[ 0 ]
for a in list:
if a < min:
min = a
return min