how would i find the indices of both of lists together so it becomes easier to append to a list?

前端 未结 0 1822
眼角桃花
眼角桃花 2020-12-07 05:15

def add_lists(list1: List[int], list2: List[int]) -> List[int]: """Return a list of sums of elements at corresponding indices in list1 and list2.

         


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