summaryrefslogtreecommitdiff
path: root/progs/a444.py
blob: 0e6873cbb882742eef5e4f45aeeca92412747359 (plain)
1
2
3
4
5
def zip_tuples(test_tup1, test_tup2):
  res = []
  for i, j in enumerate(test_tup1):
    res.append((j, test_tup2[i % len(test_tup2)])) 
  return (res)