What is a way to add the values of a list to the values of another list by the index of a third list and output one of the first two lists?

前端 未结 0 1953
感动是毒
感动是毒 2020-12-20 05:47

Let\'s say I have three lists:

list1 = [1, 2, 3]
list2 = [4, 3, 4]
list3 = [0, 0, 0, 0]

I want to write some code that outputs:



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