姓名:丁涛
c = open('作业一素材.txt',mode = 'r',encoding = 'utf-8') text = c.read() lines = text.splitlines() line = lines[-1] words = line.split(' ') word = words[-1] word = word[0:-1] a = len(word) print(a)
6