Ah sorry, I missed the errors.
You are currently overwriting ne and naa in the loop, so use other variable names for the single elements and also move the a.append call inside the loop:
for ne_, naa_ in zip(ne, naa): 
   de+=distance.euclidean(naa_,ne_)
   a.append(de/size_batch)