返回列表 发帖
python
  1. f=open("a.txt","r")
  2. txt=f.readlines()
  3. f.close()
  4. l=txt[0].rstrip()+txt[-1]
  5. print(l)
复制代码

TOP

返回列表