f = open(r'C:\Users\周星怡\.spyder-py3\作业一素材.txt',encoding='utf-8')
txt = f.read()
f.close()
end=txt.find('顺丰控股股份有限公司')
real_txt=txt[:end]
process_txt=real_txt.split(' ')
phrase=process_txt[-1]
word=phrase.replace('.\n','')
print(word)
ls=list(word)
number=len(ls)
print(number)
无