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 - a2) for a2, b in test_list]
   
    res = max(temp)
    return res