what does this mean : [line.replace('\n','') for line in f.readlines()]

后端 未结 0 1277
面向向阳花
面向向阳花 2021-01-13 16:42

I\'m making a game and I was wondering what this line means. I was trying to store a leader board in another file.

`[line.replace(\'\\n\',\'\') for line in f.         


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