How to divide a string to a list of substrings in Python?

后端 未结 0 1215
野趣味
野趣味 2020-11-27 14:20

all. I\'m trying to split a specific string into a somethings like this:

a = \'1+2j\'
b = \'23j\'
c = \'12\'
...
a_list = [\'1\', \'+\', \'2\', \'j\']
b_list          


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