How do I a string of the form “[int, int..]” and convert it to a list of int?

前端 未结 0 1826
梦谈多话
梦谈多话 2021-02-19 02:47

I have a string that looks like

"[1, 45, 3, 4, 54, 299]"

Although the length is arbitrary. There will be more than one list, that is ju

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