Home  >  Q&A  >  body text

Python list转换成字符串

有一个多维list,3层的,就是list总还有个list,下一层list总又有个list,有什么简单的方法能把这整个list变成字符串么?

phpcn_u699phpcn_u6992775 days ago833

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:18:54

    Convert Python list to string - PHP Chinese website Q&A - Convert Python list to string - PHP Chinese website Q&A

    Take a look and learn.

    reply
    0
  • 巴扎黑

    巴扎黑2017-02-15 09:33:42

    str([[[1, 2], [1, 2]], [[3, 4], [3, 4]]])

    reply
    0
  • Cancelreply