f=open("D:/names.txt")
for line in f:
line=line.strip()
print line.title()
f.close()
转载于:https://www.cnblogs.com/01csc/p/7258658.html
f=open("D:/names.txt")
for line in f:
line=line.strip()
print line.title()
f.close()
转载于:https://www.cnblogs.com/01csc/p/7258658.html