Python 当前离线
少校
TOP
f = open('a.txt', 'r') all = f.readlines() f.close() for i in all: i = i[0] + i[1::].replace(' '+i[0],'') print i,复制代码