summaryrefslogtreecommitdiff
path: root/progs/a438.py
blob: 05fe3718b2b7d2b192d72560dd90ba5a87d406d6 (plain)
1
2
3
def find_tuples(test_list, K):
  res = [sub for sub in test_list if all(ele % K == 0 for ele in sub)]
  return (str(res))