How to save a 3D array as multiple 2D arrays per line in txt file?

后端 未结 0 1694
忘了有多久
忘了有多久 2020-12-04 03:47

I have a python function that outputs a 3D list:

[
[[1,2], [3,4,5]]
[1,5,6], [1,3]]
...
]

I want to be able to save it to a txt file like thi

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