names[0] = 'Global'改成names[i] == 'Global'