Python: load words from file into a set

后端 未结 6 1964
暗喜
暗喜 2020-12-29 20:14

I have a simple text file with several thousands of words, each in its own line, e.g.

aardvark
hello
piper

I use the following code to load

6条回答
提交回复
热议问题