Removing whitespaces in a text file in python

后端 未结 0 589
庸人自扰
庸人自扰 2021-01-14 05:46

**

file1 = open("store.txt", "r")
for line in file1:
    print(line.rstrip())
file1.close()

** This is the text file :

相关标签:
回答
  • 消灭零回复
提交回复
热议问题