summaryrefslogtreecommitdiff
path: root/progs/a287.py
blob: 821e927eb6153baeab0bcebbac06556c5d5458c3 (plain)
1
2
3
4
def substract_elements(test_tup1, test_tup2):
  res = tuple(tuple(a - b for a, b in zip(tup1, tup2))
   for tup1, tup2 in zip(test_tup1, test_tup2))
  return (res)