f = open(r'作业一素材.txt','r',encoding='utf-8')
s = f.read()
f.close()
s = s.replace('顺丰控股股份有限公司', ' ')
s = s.replace('S.F. HOLDING CO., LTD.', ' ')
s = s.replace('.', ' ')
n = s.split(" ")
print(n[-4])
l = len(n[-4])
print(l)
f = open('C:/Users/wwy/Desktop/作业一附加选做题素材.txt',mode='r', encoding='utf-8')
text = f.read()
f.close()
text = text.replace('顺丰控股股份有限公司S.F.', ' ')
text = text.replace('HOLDING CO., LTD.', ' ')
sentence=text.split('。')[-2]
print(len(sentence))