Introduction aux ensembles Python3
def average(array):
return sum(set(array))/len(set(array))
Gentle Grivet
def average(array):
return sum(set(array))/len(set(array))