Posts by BARBARA • 43 points
1 post
-
4
votes1
answer351
viewsQ: Merge the contents of two lists by considering the contents in Python?
The scenario is this, I have two lists, ex: list1 = [1,2,3,4] list2 = [5,6,7,8] I want to generate a new list that looks like this: [15,26,37,48] That is, to "join" the elements of each index. I did…