Question: 
Write a function to find the pairwise addition of the elements of the given tuples.


Model's Code:
def add_pairwise(t):
    return tuple(t[i] + t[i + 1] for i in range(len(t) - 1))



Sample Correct Code:
def add_pairwise(test_tup):
  res = tuple(i + j for i, j in zip(test_tup, test_tup[1:]))
  return (res) 


Asserts:
assert add_pairwise((1, 5, 7, 8, 10)) == (6, 12, 15, 18)
assert add_pairwise((2, 6, 8, 9, 11)) == (8, 14, 17, 20)
assert add_pairwise((3, 7, 9, 10, 12)) == (10, 16, 19, 22)


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 470 of 974: 345/470 (73.40425531914893%): success