summaryrefslogtreecommitdiff
path: root/progs/a622.py
blob: fa80778b224efd0521a3dd7e1a9d6ca78c293fde (plain)
1
2
3
4
def maximize_elements(test_tup1, test_tup2):
  res = tuple(tuple(max(a, b) for a, b in zip(tup1, tup2))
   for tup1, tup2 in zip(test_tup1, test_tup2))
  return (res)