here\'s the image that shows the X and i variable
for i, x in enumerate(X): #print(i) #print(x) w = som.winner(x)
here\'s the code