Question: 
Write a function to find tuples which have all elements divisible by k from the given list of tuples.


Model's Code:
def find_tuples(tuples_list, k):
    return str([tup for tup in tuples_list if all(x % k == 0 for x in tup)])



Sample Correct Code:
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)) 


Asserts:
assert find_tuples([(6, 24, 12), (7, 9, 6), (12, 18, 21)], 6) == '[(6, 24, 12)]'
assert find_tuples([(5, 25, 30), (4, 2, 3), (7, 8, 9)], 5) == '[(5, 25, 30)]'
assert find_tuples([(7, 9, 16), (8, 16, 4), (19, 17, 18)], 4) == '[(8, 16, 4)]'


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 75 of 974: 58/75 (77.33333333333333%): success