summaryrefslogtreecommitdiff
path: root/progs/a179.py
blob: 223a67b44264e5d42e1c61c6431cecc9ca8cfdc7 (plain)
1
2
3
4
from itertools import combinations 
def find_combinations(test_list):
  res = [(b1 + a1, b2 + a2) for (a1, a2), (b1, b2) in combinations(test_list, 2)]
  return (res)