def min_list(a_list)min_so_far a_list[ minlist py list cannot be emptyfor in a_list if min_so_farmin_so_far return min_so_far returning single value so here' the function that determines the minimum value in list