Is there a way to insert a single character string into selected string items in a list?

后端 未结 0 1280
别跟我提以往
别跟我提以往 2021-01-29 11:06

for example:

list = [\'a\',\'b\',\'c\',\'d\']

i want to insert the letter \'j\' in front of the first two strings

which will make the list

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