姓名:王庆 学号:4201369
f = open("作业一素材.txt",mode="r",encoding="utf-8") lines = f.readlines() line = lines[-3] words = line.split(" ") word = words[-1] word = word[0:-2] x = len(word) print(x)
6