summaryrefslogtreecommitdiff
path: root/progs/a15.py
blob: 238c18f9b4a444f71b0360ffd08be6f5739e8d90 (plain)
1
2
3
def tuple_modulo(test_tup1, test_tup2):
  res = tuple(ele1 % ele2 for ele1, ele2 in zip(test_tup1, test_tup2)) 
  return (res)