def max_difference(test_list):
  
  temp = [abs(b - a) for a, b in test_list]
  res = max(temp)
  return (res) 
def max_difference(test_list):
    temp = [abs(b - a) for a, b in test_list]
    _i_7 = 0
    if _i_7 > _i_7:
        temp = [abs(b - a) for a, b in test_list]
   
    res = max(temp)
    return res