So im pretty new to programming so sorry for my relatively very low understanding of python in general.
Say i have 2 lists, A and B. If in some case i need to add numbers between 2 lists, each number adding to the number in the same position in the second list. Is there any simple way of doing so? Eg. A = [1, 2, 3] B = [4, 5, 6] so C = [1+4, 2+5, 3+6]
All I thought of so far being pretty tired is just adding the 2 but it just makes a list of items from A, followed by items from B
A = [1, 2, 3]
B = [4, 5, 6]
C = A + B
I'm trying to get C = [5, 7, 9] but it ends up being C = [1, 2, 3, 4, 5, 6] I understand why this would be but being new to this i have no clue of how to do this properly