Question: 
Write a function to find the maximum element of all the given tuple records.


Model's Code:
def find_max(tuples):
    return max(max(tup) for tup in tuples)



Sample Correct Code:
def find_max(test_list):
  res = max(int(j) for i in test_list for j in i)
  return (res) 


Asserts:
assert find_max([(2, 4), (6, 7), (5, 1), (6, 10), (8, 7)]) == 10
assert find_max([(3, 5), (7, 8), (6, 2), (7, 11), (9, 8)]) == 11
assert find_max([(4, 6), (8, 9), (7, 3), (8, 12), (10, 9)]) == 12


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

Test 357 of 974: 258/357 (72.26890756302521%): success