#作业一
import re
f = open('D:/Desktop/222学期金融数据获取与处理/作业一素材.txt',mode='r',encoding='utf-8')
para = f.read()
lines = para.splitlines()
line = lines[-3]
word = re.split(' ',line)
length = len(word[-1])-1
print('最后一个单词的长度为:',length)