summaryrefslogtreecommitdiff
path: root/progs/a792.py
blob: 627f87064261a267154ee551a933fa48068d0b01 (plain)
1
2
3
def and_tuples(test_tup1, test_tup2):
  res = tuple(ele1 & ele2 for ele1, ele2 in zip(test_tup1, test_tup2))
  return (res)