Read file as a list of tuples

前端 未结 0 1674
故里飘歌
故里飘歌 2021-02-09 09:33

I want to read a text file using Python. My list must be like this:

mylist = [(-34.968398, -6.487265), (-34.969448, -6.488250),
          (-34.967364, -6.492370)         


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