Question: 
Write a function to find the maximum of nth column from the given tuple list.


Model's Code:
def max_of_nth(tuples_list, n):
    return max(row[n] for row in tuples_list)



Sample Correct Code:
def max_of_nth(test_list, N):
  res = max([sub[N] for sub in test_list])
  return (res) 


Asserts:
assert max_of_nth([(5, 6, 7), (1, 3, 5), (8, 9, 19)], 2) == 19
assert max_of_nth([(6, 7, 8), (2, 4, 6), (9, 10, 20)], 1) == 10
assert max_of_nth([(7, 8, 9), (3, 5, 7), (10, 11, 21)], 1) == 11


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

Test 611 of 974: 455/611 (74.46808510638297%): success