Is there an easy way to add the members of two equally sized lists (or tuple or whatever data type would work best)?
I have, for example a and b with 2 elements:
a = (0, 10)
b = (0, -10)
I want to add them and get as result:
result = (0, 0)
NOT (0, 10, 0, -10)
You can do this in one line in Python:
Example: