Replace list brackets in Python 3.x

后端 未结 0 1936
庸人自扰
庸人自扰 2021-01-27 06:35

I have multiple list objects

Example:

data = [[\'id\', \'host\'], [1, \'123\']]

print(data)

Output:

[[\'id\', \'host\'], [         


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