Python update string element in 2nd list based on .pop() in 1st list

后端 未结 0 1463
挽巷
挽巷 2021-01-30 17:24

I have two lists of strings with numbers. I want to subtract the value of list_1 from list_2, if I do

list_1.pop(0).

list_1 = [\'4 Green\', \'3 Blue\']
lis         


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