def Inter(L,a): m=Moyenne(L) I=[x for x in L if m-a<=x and x<=m+a] return I