input: Write a function to calculate the absolute difference between two given numbers. The function should take two input parameters and return the absolute difference.
  
  def absolute_difference(A, B): 
      return abs(A - B) 
    
  # Test Cases
  assert absolute_difference(9, 5) == 4
  assert absolute_difference(-9, 5) == 14
  assert absolute_difference(0, 0) == 0
  assert absolute_difference(-3, -7) == 4
output: def absolute_difference(A, B): 
      return abs(A - B)