summaryrefslogtreecommitdiff
path: root/progs/a833.py
blob: 36c43d1694ff55dc2335d5eab150e5c5abe34515 (plain)
1
2
3
def add_pairwise(test_tup):
  res = tuple(i + j for i, j in zip(test_tup, test_tup[1:]))
  return (res)