I thought this should work, but it didn't (yields 0):
n1 = [1, 2, 3, 4]
n2 = [5, 6, 7, 8]
pair = zip(n1, n2)
dif = sum(abs(v1 - v2) for v1, v2 in pair)
print(dif)
But neglecting my pair variable and using the code directly worked just fine (yields 16):
dif = sum(abs(v1 - v2) for v1, v2 in zip(n1, n2))
Shouldn't both of them yield the same answer?