def MinMaxAvg(data):
	"""
		Given a list of values, the MIN/MAX/AVG value is returned in a Dictionary
		
		:param data: List of data of the same kind
		:type data: int[] or float[]
		
		:returns: a dictionary { 'min':min,'max':max,'avg':average }
		:rtype: dictionary
		
		.. seealso:: Stats
		
	"""
	
	min_val = data[0]
	max_val = data[0]
	acc_val = 0
	count = 0
	for d in data:
		if (d < min_val ): min_val= d
		if (d > max_val ): max_val= d
		acc_val = acc_val + d
		count = count+1
	return { 'min':min_val,'max':max_val,'avg':acc_val/count }