how to convert a string to list I have a string how to convert it to a list?

后端 未结 0 1212
刺人心
刺人心 2020-12-08 06:38

I have a string like: string = "[1, 2, 3]"

I need to convert it to a list like: [1, 2, 3]

I\'ve tried using regular expression for this purpose, but

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